refactor: use Next.js for demo

This commit is contained in:
Simon Chan 2021-10-11 17:15:17 +08:00
parent 5a2870f85c
commit 4a7a22a9d9
67 changed files with 3259 additions and 4604 deletions

View file

@ -0,0 +1,16 @@
import { CommandBar as FluentCommandBar, ICommandBarProps, StackItem } from '@fluentui/react';
import { withDisplayName } from '../utils/with-display-name';
const ContainerStyles = {
root: {
borderBottom: '1px solid rgb(243, 242, 241)',
}
} as const;
export const CommandBar = withDisplayName('CommandBar')((props: ICommandBarProps) => {
return (
<StackItem styles={ContainerStyles}>
<FluentCommandBar {...props} />
</StackItem>
);
});