1.8.0 ā€¢ Published 10 months ago

mui-material-compact v1.8.0

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
10 months 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

10 months ago

1.7.0

10 months ago

1.6.0

11 months ago

1.5.0

11 months ago

1.4.0

11 months ago

1.3.1

11 months ago

1.3.0

11 months ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago