import * as React from 'react';
import { Stack, Text } from 'office-ui-fabric-react';
import {
ActionButton,
CommandBarButton,
CompoundButton,
DefaultButton,
IconButton,
MessageBarButton,
PrimaryButton,
Actionable,
MenuButton,
SplitButton,
ISplitButtonProps,
} from '@uifabric/experiments';
const tokens = {
sectionStack: {
childrenGap: 32,
},
buttonStack: {
childrenGap: 12,
},
};
const ButtonStack = (props: { children: JSX.Element[] | JSX.Element }) => (
{props.children}
);
export class ButtonVariantsExample extends React.Component<{}, {}> {
public render(): JSX.Element {
const menuProps: ISplitButtonProps['menu'] = {
items: [
{
key: 'a',
name: 'Item a',
},
{
key: 'b',
name: 'Item b',
},
],
};
return (
Actionable
Disabled Actionable
Icon Button:
);
}
}