Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (20 sloc) 613 Bytes

FAB

See the demo component here

Usage

Below, an example of using the FAB component:

import { FAB, Icon } from 'mdwrapper';

const Demo = () => (
  <FAB label={'Create'} onClick={() => console.log('Demo')}>
    <Icon classes={['mdc-fab__icon']} font={'create'} />
  </FAB>
);

Props

List of all properties for the FAB component:

Prop Type Default Description
children object - Node Content
label string - Label
mini boolean false Mini Style
onClick function void Click Trigger
You can’t perform that action at this time.