UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

1 lines 699 B
module.exports = "import * as React from 'react';\nimport {\n Button,\n ButtonType,\n Label\n} from '../../../../index';\nimport { IButtonProps } from './IButtonProps';\n\nexport class ButtonCompoundExample 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>Compound button</Label>\n <Button\n disabled={ isDisabled }\n buttonType={ ButtonType.compound }\n description='You can create a new account here.'>\n Create account\n </Button>\n </div>\n );\n }\n}";