@material-ui/core#TypographyProps TypeScript Examples
The following examples show how to use
@material-ui/core#TypographyProps.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Subheading.tsx From firetable with Apache License 2.0 | 6 votes |
export default function Subheading(props: TypographyProps<"h2">) {
const theme = useTheme();
return (
<Typography
variant="overline"
display="block"
gutterBottom
component="h3"
{...props}
style={{
color: theme.palette.text.disabled,
...props.style,
}}
/>
);
}
Example #2
Source File: HistoryTable.tsx From aqualink-app with MIT License | 5 votes |
tableCellTypographyProps: TypographyProps = {
color: "textSecondary",
variant: "subtitle2",
}
Example #3
Source File: Markdown.tsx From log4brains with Apache License 2.0 | 5 votes |
function Li(props: TypographyProps) {
const classes = useStyles();
return (
<li className={classes.listItem}>
<Typography component="span" {...props} />
</li>
);
}