Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 624 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 624 Bytes

IconButton

See the demo component here

Usage

Below, an example of using the IconButton component:

import { IconButton } from 'mdwrapper';

const Demo = () => (
  <IconButton font={'star_border'} onClick={() => console.log('Demo')} />
);

Props

List of all properties for the IconButton component:

Prop Type Default Description
classes array [] Overrides Class
disabled boolean false Available State
font string 'star' Material Design Icon Font
onClick function void Click Trigger