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';
3
3
import { html } from 'lit' ;
4
4
import type { Meta , StoryObj } from '@storybook/web-components' ;
5
5
import { spread } from '../../../storyhelpers' ;
6
+ import { UUISymbolExpandElement } from './uui-symbol-expand.element.js' ;
7
+ import '@umbraco-ui/uui-button/lib' ;
6
8
7
- const meta : Meta = {
9
+ const meta : Meta < UUISymbolExpandElement > = {
8
10
id : 'uui-symbol-expand' ,
9
11
component : 'uui-symbol-expand' ,
10
12
title : 'Symbols/Expand' ,
@@ -25,3 +27,15 @@ export default meta;
25
27
type Story = StoryObj ;
26
28
27
29
export 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