material-icons-without-material-ui
v0.0.3
Published
Material Design icons distributed as SVG React components without material ui
Downloads
6
Maintainers
Readme
Lite version of @mui/icons-material
Disclaimer
If you are unsure about what you are doing, it is best to install the original @mui/icons-material
About
There are times when you may need MUI icons, but not the entire Material UI framework. In these cases, this package can be helpful. It simply patches the original package and replaces the createSvgIcon function with a simpler version.
Restrictions
- Only named imports
import Clock from 'material-icons-svg/Clock'
- Only svg props
interface Props {
fill?: string // currentColor by default
color?: string // currentColor by default
width?: string // 24px by default
height?: string // 24px by default
viewBox?: string // 0 0 24 24 by default
}