1.8.0 • Published 2 years ago

mui-material-compact v1.8.0

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
2 years ago

mui-material-compact

Helper to create compact @mui/material theme

Install

npm i mui-material-compact

Usage

import { ThemeProvider, TextField } from '@mui/material';
import { createCompactTheme } from 'mui-material-compact';

const theme = createCompactTheme({
  // Your theme options...
});

<ThemeProvider theme={theme}>
  <TextField size="small" />
  <TextField size="medium" />
  <TextField size="large" />
</ThemeProvider>;

If you are using TypeScript, modify your tsconfig.json to enable extra size variants:

{
  "compilerOptions": {
    "types": ["mui-material-compact/overrides"]
  }
}

šŸ‘‰ check online preview

1.8.0

2 years ago

1.7.0

2 years ago

1.6.0

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago