mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-05 19:42:15 +02:00
refactor: use Next.js for demo
This commit is contained in:
parent
5a2870f85c
commit
4a7a22a9d9
67 changed files with 3259 additions and 4604 deletions
16
apps/demo/components/command-bar.tsx
Normal file
16
apps/demo/components/command-bar.tsx
Normal 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>
|
||||
);
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue