office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
1 lines • 663 B
JavaScript
module.exports = "import * as React from 'react';\nimport {\n Button,\n ButtonType,\n Label\n} from '../../../../index';\nimport { IButtonProps } from './IButtonProps';\n\nexport class ButtonIconExample extends React.Component<IButtonProps, {}> {\n public constructor() {\n super();\n }\n\n public render() {\n let { isDisabled } = this.props;\n\n return (\n <div className='ms-BasicButtonsExample'>\n <Label>Icon button</Label>\n <Button\n disabled={ isDisabled }\n buttonType={ ButtonType.icon }\n icon='Emoji2'\n title='Emoji'\n ariaLabel='Emoji' />\n </div>\n );\n }\n}";