mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-04 10:19:17 +02:00
16 lines
490 B
TypeScript
16 lines
490 B
TypeScript
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>
|
|
);
|
|
});
|