@material-ui/core APIs
- Button
- Typography
- IconButton
- Grid
- TextField
- makeStyles
- Box
- List
- ListItem
- CircularProgress
- ListItemText
- Paper
- Divider
- Tooltip
- DialogContent
- Toolbar
- AppBar
- Card
- Dialog
- Container
- DialogTitle
- FormControl
- MenuItem
- Theme
- FormControlLabel
- CardContent
- CssBaseline
- DialogActions
- createStyles
- Select
- Link
- Checkbox
- DialogContentText
- Snackbar
- TableCell
- TableRow
- Table
- TableBody
- useMediaQuery
- InputAdornment
- ListItemIcon
- Switch
- Chip
- TableHead
- InputLabel
- withStyles
- Avatar
- ThemeProvider
- Drawer
- LinearProgress
- Menu
- CardActions
- createMuiTheme
- TableContainer
- Tab
- Tabs
- Slider
- ListItemSecondaryAction
- useTheme
- CardHeader
- Collapse
- Popover
- Radio
- Hidden
- FormGroup
- Fade
- InputBase
- FormHelperText
- ListSubheader
- Fab
- Input
- Badge
- Step
- AccordionDetails
- AccordionSummary
- RadioGroup
- ButtonGroup
- Slide
- ListItemAvatar
- Stepper
- SvgIcon
- Accordion
- StepLabel
- Modal
- FormLabel
- ClickAwayListener
- ButtonProps
- WithStyles
- Backdrop
- Popper
- createTheme
- ButtonBase
- CardMedia
- MuiThemeProvider
- OutlinedInput
- TextFieldProps
- Grow
- TablePagination
- TextareaAutosize
- darken
- CardActionArea
- TypographyProps
- StepButton
- SelectProps
- Zoom
- TableSortLabel
- styled
- lighten
- InputProps
- GridProps
- fade
- ThemeOptions
- BoxProps
- ExpansionPanel
- ExpansionPanelSummary
- ExpansionPanelDetails
- useScrollTrigger
- TooltipProps
- PopoverProps
- MobileStepper
- TableFooter
- Icon
- debounce
- Breadcrumbs
- BottomNavigation
- StepConnector
- SwipeableDrawer
- ButtonBaseProps
- MenuList
- DialogProps
- Portal
- SvgIconTypeMap
- capitalize
- alpha
- colors
- InputBaseProps
- NativeSelect
- ChipProps
- IconButtonProps
- emphasize
- SnackbarContent
- PaletteType
- CheckboxProps
- GridSize
- GridItemsAlignment
- SvgIconProps
- SnackbarOrigin
- NoSsr
- withTheme
- WithTheme
- TextareaAutosizeProps
- ExpansionPanelActions
- createSvgIcon
- SnackbarContentProps
- BreadcrumbsProps
- LinearProgressProps
- responsiveFontSizes
- ThemeProviderProps
- GridSpacing
- SliderTypeMap
- TabsActions
- PaperProps
- SnackbarCloseReason
- Alert
- Stack
- Skeleton
- ExtendButton
- ExtendButtonBase
- AlertProps
- ImageList
- ImageListItem
- StepContent
- getLuminance
- LinkProps
- StepIconProps
- ToolbarProps
- isWidthUp
- WithWidthProps
- isWidthDown
- PopperProps
- Options
- ServerStyleSheets
- WithWidth
- BottomNavigationAction
- InputAdornmentProps
- FormControlProps
- hexToRgb
- ListItemProps
- AppBarProps
- TypographyClassKey
- Autocomplete
- StylesProvider
Other Related APIs
- react#useState
- react#useCallback
- react#ReactNode
- react#ReactElement
- react#FunctionComponent
- @material-ui/core#Typography
- @material-ui/core#Box
- @material-ui/core#Tooltip
- @material-ui/core#IconButton
- @material-ui/core#Avatar
- @material-ui/core#Link
- @material-ui/core#styled
- @material-ui/core/styles#makeStyles
- @material-ui/core/styles#createStyles
- @material-ui/core/styles#Theme
- react-dropzone#useDropzone
- @material-ui/styles#makeStyles
@material-ui/core#BoxProps TypeScript Examples
The following examples show how to use
@material-ui/core#BoxProps.
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: Blockie.tsx From homebase-app with MIT License | 6 votes |
Blockie = ({
address,
size,
...props
}: BoxProps & { address: string; size?: number }) => {
return (
<StyledBox
address={getBlockie(address.toLowerCase())}
size={size}
{...props}
/>
);
}
Example #2
Source File: LinkedData.tsx From ra-enterprise-demo with MIT License | 6 votes |
LinkedData = ({
children,
label,
icon,
to,
...rest
}: {
children: ReactNode;
label: ReactNode;
icon: ReactNode;
to: any;
} & BoxProps): ReactElement => {
const classes = useStyles();
return (
<Link component={RouterLink} to={to} className={classes.link}>
<Box
component="li"
display="flex"
alignItems="center"
justifyContent="center"
flexDirection="column"
className={classes.root}
{...rest}
>
<Box display="flex" alignItems="center">
<Box marginRight={1}>{icon}</Box>
<Typography component="span">{children}</Typography>
</Box>
<Typography variant="caption">{label}</Typography>
</Box>
</Link>
);
}