Download react-material-dashboard/src/styles/theme/components/button.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 508 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-material-dashboard/src/styles/theme/components/button.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-material-dashboard/src/styles/theme/components/button.tsx
-
curl -L -o button.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-material-dashboard/src/styles/theme/components/button.tsx
508 Bytes
| import type { Components } from '@mui/material/styles'; | |
| import type { Theme } from '../types'; | |
| export const MuiButton = { | |
| styleOverrides: { | |
| root: { borderRadius: '12px', textTransform: 'none' }, | |
| sizeSmall: { padding: '6px 16px' }, | |
| sizeMedium: { padding: '8px 20px' }, | |
| sizeLarge: { padding: '11px 24px' }, | |
| textSizeSmall: { padding: '7px 12px' }, | |
| textSizeMedium: { padding: '9px 16px' }, | |
| textSizeLarge: { padding: '12px 16px' }, | |
| }, | |
| } satisfies Components<Theme>['MuiButton']; | |