import * as React from 'react'; import { Stack, IStackTokens } from '@fluentui/react'; import { DefaultButton, PrimaryButton } from '@fluentui/react/lib/Button'; export interface IButtonExampleProps { // These are set based on the toggles shown above the examples (not needed in real code) disabled?: boolean; checked?: boolean; } // Example formatting const stackTokens: IStackTokens = { childrenGap: 40 }; export const ButtonDefaultExample: React.FunctionComponent = props => { const { disabled, checked } = props; return ( ); }; function _alertClicked(): void { alert('Clicked'); }