UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

1 lines 827 B
define([], function() { return "import * as React from 'react';\nimport {\n Button,\n ButtonType,\n Label\n} from '../../../../index';\nimport { IButtonProps } from './IButtonProps';\n\nexport class ButtonAnchorExample extends React.Component<IButtonProps, {}> {\n public constructor() {\n super();\n }\n\n public render() {\n let { disabled } = this.props;\n\n return (\n <div className='ms-BasicButtonsExample'>\n <Label>Button like anchor</Label>\n <Button\n data-automation-id='test'\n disabled={ disabled }\n buttonType={ ButtonType.primary }\n href='http://bing.com'\n target='_blank'\n title='Let us bing!'\n description='Navigate to Bing home page.'>\n Bing\n </Button>\n </div >\n );\n }\n}"; });