Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (18 sloc) 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
You can’t perform that action at this time.