UNPKG

@skhemata/skhemata-form

Version:

Skhemata Form Web Component. This web component can be used as base web component when working with forms and inputs.

29 lines 801 B
import { html } from '@skhemata/skhemata-base'; import '../skhemata-form'; import { argTypes } from './argTypes'; export default { title: 'General/SkhemataForm/SkhemataFormTextarea', component: 'skhemata-blog', argTypes: { ...argTypes, rows: { control: 'number', description: 'Default number of rows to display', table: { category: 'HTML Attributes', type: 'number', }, }, }, }; const Template = ({ label = 'My Textarea' }) => html ` <skhemata-form-textarea .label=${label} ></skhemata-form-textarea> </skhemata-form> `; export const Example = Template.bind({}); Example.args = { label: 'My Textarea', }; //# sourceMappingURL=SkhemataFormTextarea.stories.js.map