chore: 🤖 Update centere layout storybook
This commit is contained in:
1 file changed
+6
-6
@@ -6,19 +6,19 @@ import { action } from '@storybook/addon-actions';
|
||||
|
||||
# Layout|Centered
|
||||
|
||||
A left and right centered layout/positioning component that allows a boby section to be configured
|
||||
A left and right centered layout/positioning component.
|
||||
|
||||
```htmlbars
|
||||
<Rose::Layout::Centered as |layout|>
|
||||
<layout.body />
|
||||
</Rose::Layout::Centered>
|
||||
<Rose::Layout::Centered>
|
||||
Centered
|
||||
</Rose::Layout::Centere>
|
||||
```
|
||||
|
||||
<Preview>
|
||||
<Story name="Centered">{{
|
||||
template: hbs`
|
||||
<Rose::Layout::Centered as |layout|>
|
||||
<layout.body style="background: var(--brand-gray-7);">Centered Body</layout.body>
|
||||
<Rose::Layout::Centered style="background: var(--brand-gray-7);">
|
||||
Centered
|
||||
</Rose::Layout::Centered>
|
||||
`,
|
||||
}}</Story>
|
||||
|
||||
Reference in new issue
Block a user