File tree Expand file tree Collapse file tree 3 files changed +38
-4
lines changed
packages/ai/src/components Expand file tree Collapse file tree 3 files changed +38
-4
lines changed Original file line number Diff line number Diff line change 1- import '@ui5/webcomponents-ai/dist/Input.js' ;
2- import '@ui5/webcomponents/dist/MenuItem.js' ;
31import type { Meta , StoryObj } from '@storybook/react-vite' ;
4- import { MenuItem } from '@ui5/webcomponents-react' ;
5- import { useRef , useState } from 'react' ;
62import { Input } from './index.js' ;
73
84const meta = {
95 title : 'Input' ,
106 component : Input ,
117 argTypes : {
128 actions : { control : { disable : true } } ,
9+ icon : { control : { disable : true } } ,
10+ valueStateMessage : { control : { disable : true } } ,
1311 } ,
1412 tags : [ 'package:@ui5/webcomponents-ai' , 'experimental' ] ,
1513} satisfies Meta < typeof Input > ;
Original file line number Diff line number Diff line change 1+ import { ControlsWithNote , DocsHeader , Footer } from ' @sb/components' ;
2+ import { Canvas , Meta } from ' @storybook/addon-docs/blocks' ;
3+ import * as ComponentStories from ' ./TextArea.stories.tsx' ;
4+
5+ <Meta of = { ComponentStories } />
6+
7+ <DocsHeader of = { ComponentStories } experimental />
8+
9+ <br />
10+
11+ ## Example
12+
13+ <Canvas of = { ComponentStories .Default } />
14+
15+ ## Properties
16+
17+ <ControlsWithNote of = { ComponentStories .Default } />
18+
19+ <Footer />
Original file line number Diff line number Diff line change 1+ import type { Meta , StoryObj } from '@storybook/react-vite' ;
2+ import { TextArea } from './index.js' ;
3+
4+ const meta = {
5+ title : 'TextArea' ,
6+ component : TextArea ,
7+ argTypes : {
8+ menu : { control : { disable : true } } ,
9+ valueStateMessage : { control : { disable : true } } ,
10+ } ,
11+ tags : [ 'package:@ui5/webcomponents-ai' , 'experimental' ] ,
12+ } satisfies Meta < typeof TextArea > ;
13+
14+ export default meta ;
15+ type Story = StoryObj < typeof meta > ;
16+
17+ export const Default : Story = { } ;
You can’t perform that action at this time.
0 commit comments