File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
packages/uui-symbol-expand/lib Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,10 @@ import readme from '../README.md?raw';
33import { html } from 'lit' ;
44import type { Meta , StoryObj } from '@storybook/web-components' ;
55import { spread } from '../../../storyhelpers' ;
6+ import { UUISymbolExpandElement } from './uui-symbol-expand.element.js' ;
7+ import '@umbraco-ui/uui-button/lib' ;
68
7- const meta : Meta = {
9+ const meta : Meta < UUISymbolExpandElement > = {
810 id : 'uui-symbol-expand' ,
911 component : 'uui-symbol-expand' ,
1012 title : 'Symbols/Expand' ,
@@ -25,3 +27,15 @@ export default meta;
2527type Story = StoryObj ;
2628
2729export const Default : Story = { } ;
30+
31+ export const Open : Story = {
32+ args : { open : true } ,
33+ } ;
34+
35+ export const WithButton : Story = {
36+ render : args =>
37+ html `< uui-button look ="primary ">
38+ Toggle
39+ < uui-symbol-expand ${ spread ( args ) } > </ uui-symbol-expand >
40+ </ uui-button > ` ,
41+ } ;
You can’t perform that action at this time.
0 commit comments