@skhemata/skhemata-form
Version:
Skhemata Form Web Component. This web component can be used as base web component when working with forms and inputs.
107 lines (106 loc) • 2.25 kB
TypeScript
import { TemplateResult } from '@skhemata/skhemata-base';
export interface Story<T> {
(args: T): TemplateResult;
args?: Partial<T>;
argTypes?: Record<string, unknown>;
}
export interface ArgTypes {
value?: string;
label?: string;
horizontal?: boolean;
description?: string;
required?: boolean;
name?: string;
placeholder?: string;
errorMessage?: string;
valid?: boolean;
translationData?: any;
repeatedFields: any;
}
export declare const argTypes: {
value: {
control: string;
description: string;
table: {
type: string;
category: string;
};
};
label: {
control: string;
description: string;
table: {
type: string;
category: string;
};
};
horizontal: {
control: string;
description: string;
defaultValue: boolean;
table: {
type: string;
category: string;
};
};
description: {
control: string;
description: string;
table: {
type: string;
category: string;
};
};
required: {
control: string;
description: string;
defaultValue: boolean;
table: {
type: string;
category: string;
};
};
name: {
control: string;
description: string;
table: {
type: string;
category: string;
};
};
placeholder: {
control: string;
description: string;
table: {
type: string;
category: string;
};
};
errorMessage: {
control: string;
name: string;
description: string;
table: {
type: string;
category: string;
};
};
valid: {
control: string;
description: string;
table: {
type: string;
category: string;
};
};
change: {
description: string;
table: {
type: {
summary: string;
detail: string;
};
category: string;
};
};
};