File tree 11 files changed +7
-22
lines changed
apps/docs/src/content/components
11 files changed +7
-22
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ import { Header } from "../../components/Header";
27
27
},
28
28
},
29
29
}}
30
- decorator = { (component ) => <div className = " flex w-full" >{ component } </div >}
31
30
>
32
31
<div className = " p-xs" >The answer to all things is 42.</div >
33
32
</Header >
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import { Header } from "../../components/Header";
15
15
atLeastOneExpanded: { defaultValue: false },
16
16
fullWidthBlades: { defaultValue: true },
17
17
}}
18
- decorator = { (component ) => <div className = " w-full" >{ component } </div >}
19
18
>
20
19
<HvBlade label = " 1" >
21
20
<div className = " flex items-center p-xs" >Content 1</div >
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ import { Header } from "../../components/Header";
18
18
showFullscreen: { defaultValue: true },
19
19
controlsPosition: { defaultValue: " top" },
20
20
}}
21
- decorator = { (children ) => <div className = " overflow" >{ children } </div >}
22
21
>
23
22
{ [... Array (7 ).keys ()].map ((i ) => (
24
23
<HvCarouselSlide
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ import { Header } from "../../components/Header";
26
26
</HvIconButton >
27
27
),
28
28
}}
29
- decorator = { (component ) => <div className = " w-full" >{ component } </div >}
30
29
>
31
30
<HvButton variant = " primary" >Save</HvButton >
32
31
<HvButton variant = " secondarySubtle" >Reset</HvButton >
Original file line number Diff line number Diff line change @@ -18,11 +18,8 @@ import { Header } from "../../components/Header";
18
18
readOnly: { defaultValue: false },
19
19
disabled: { defaultValue: false },
20
20
}}
21
- decorator = { (c ) => <div className = " w-full" >{ c } </div >}
22
21
/>
23
22
24
- <br />
25
-
26
23
<Callout type = " info" >
27
24
The ` HvNumberInput ` component shares the same API as ` HvInput ` . For full
28
25
documentation, see the [ HvInput component page] ( /components/input ) .
Original file line number Diff line number Diff line change @@ -24,5 +24,4 @@ import { Header } from "../../components/Header";
24
24
" This is a very long text that should be cut because it so long that it doesn't fit" ,
25
25
},
26
26
}}
27
- decorator = { (children ) => <div className = " max-w-160px" >{ children } </div >}
28
27
/>
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ import { Header } from "../../components/Header";
30
30
},
31
31
},
32
32
}}
33
- decorator = { (component ) => <div className = " w-full" >{ component } </div >}
34
33
/>
35
34
36
35
### How to use
Original file line number Diff line number Diff line change @@ -6,12 +6,6 @@ import {
6
6
7
7
import { Header } from " ../../components/Header" ;
8
8
9
- <Callout type = " info" >
10
- The ` HvSearchInput ` component shares the same API as the ` HvInput ` component.
11
- Please check the [ HvInput component page] ( /components/input ) for
12
- documentation.
13
- </Callout >
14
-
15
9
<Header
16
10
params = { { name: " SearchInput" , classes }}
17
11
Component = { HvSearchInput }
@@ -24,5 +18,10 @@ import { Header } from "../../components/Header";
24
18
readOnly: { defaultValue: false },
25
19
disabled: { defaultValue: false },
26
20
}}
27
- decorator = { (c ) => <div className = " w-full" >{ c } </div >}
28
21
/>
22
+
23
+ <Callout type = " info" >
24
+ The ` HvSearchInput ` component shares the same API as the ` HvInput ` component.
25
+ Please check the [ HvInput component page] ( /components/input ) for
26
+ documentation.
27
+ </Callout >
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ import { Header } from "../../components/Header";
20
20
defaultValue: false ,
21
21
},
22
22
}}
23
- decorator = { (children ) => <div className = " w-190px" >{ children } </div >}
24
23
children = { <div >My skeleton example content</div >}
25
24
/>
26
25
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import { Header } from "../../components/Header";
16
16
multiSelect: { defaultValue: false },
17
17
disableSelection: { defaultValue: false },
18
18
}}
19
- decorator = { (children ) => <HvPanel className = " w-300px" >{ children } </HvPanel >}
20
19
>
21
20
<HvTreeItem nodeId = " 1" label = " Applications" >
22
21
<HvTreeItem nodeId = " 10" label = " Calendar.app" />
Original file line number Diff line number Diff line change @@ -23,10 +23,7 @@ import { Header } from "../../components/Header";
23
23
defaultValue: false ,
24
24
},
25
25
}}
26
- decorator = { (children ) => (
27
- <div className = " w-200px text-balance" >{ children } </div >
28
- )}
29
- children = { " Welcome to Hitachi Vantara's UI Kit." }
26
+ children = " Welcome to UI Kit."
30
27
/>
31
28
32
29
### Root component
You can’t perform that action at this time.
0 commit comments