Skip to content

theodufort/material-ui-flags

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>
    );
  }
}

About

Country flag icons for material-ui

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 77.7%
  • HTML 17.1%
  • CSS 5.2%