material-ui-flags
v1.2.4
Published
Flag icons for Material-UI
Downloads
4,643
Maintainers
Readme
material-ui-flags
Library with country flag icons for Material-UI.
Installation
npm install material-ui-flags
yarn add material-ui-flags
Versions
For React 0.14 and Material-UI 0.14 please use version 2. For React 15 and Material-UI 0.15 please use version 3 and above.
Usage
import React from 'react';
import IconButton from '@material-ui/core/IconButton';
import {
IconFlagTR,
IconFlagDE,
IconFlagUS
} from 'material-ui-flags';
class MyComponent extends React.Component
{
render( )
{
return(
<div>
<IconButton><IconFlagTR /></IconButton>
<IconButton><IconFlagDE /></IconButton>
<IconButton><IconFlagUS /></IconButton>
</div>
);
}
}