File tree 4 files changed +43
-15
lines changed
4 files changed +43
-15
lines changed Original file line number Diff line number Diff line change 1
1
import type { JSX } from "react" ;
2
2
3
+ import { Flex , Divider } from "@lib-components" ;
4
+ import { Logo } from "@lib-theme" ;
5
+
3
6
import useSidebarClasses from "@app-ui/layout/partials/Sidebar/styles" ;
4
7
5
8
type TProps = { } ;
6
9
7
10
export default function Sidebar ( { } : TProps ) : JSX . Element {
8
11
const classes = useSidebarClasses ( ) ;
9
- return < div className = { classes . root } > Sidebar</ div > ;
12
+ return < Flex className = { classes . root } > Sidebar</ Flex > ;
10
13
}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ import type { Meta , StoryObj } from "@storybook/react" ;
2
+
3
+ import Sidebar from "@app-ui/layout/partials/Sidebar" ;
4
+
5
+ import { Flex } from "@lib-components" ;
6
+ import { tokens } from "@lib-theme" ;
7
+
8
+ const meta : Meta = {
9
+ title : "App/UI/Layout/Partials/Sidebar" ,
10
+ component : Sidebar ,
11
+ } ;
12
+
13
+ export default meta ;
14
+
15
+ type TStory = StoryObj < typeof Sidebar > ;
16
+
17
+ export const Index : TStory = {
18
+ render : ( ) => (
19
+ < div
20
+ style = { {
21
+ display : "flex" ,
22
+ backgroundColor : "black" ,
23
+ gap : "1rem" ,
24
+ padding : "1rem" ,
25
+ } }
26
+ >
27
+ < Sidebar />
28
+ < div
29
+ style = { {
30
+ width : "100%" ,
31
+ height : "600px" ,
32
+ backgroundColor : tokens . colorNeutralBackground2 ,
33
+ } }
34
+ />
35
+ </ div >
36
+ ) ,
37
+ } ;
Original file line number Diff line number Diff line change
1
+ export { Divider } from "@fluentui/react-components" ;
2
+
1
3
export { Flex } from "@lib-components/layout" ;
You can’t perform that action at this time.
0 commit comments