feat(Input): add input label (#16) #5
Annotations
10 errors
build (18):
src/components/input/Input.stories.ts#L17
Type '{ backgroundColor: { control: string; }; }' is not assignable to type 'Partial<ArgTypes<InputProps>>'.
|
build (18):
src/components/input/Input.stories.ts#L27
Type '{ primary: true; label: string; placeholder: string; id: string; type: "text"; }' is not assignable to type 'Partial<{ type?: HTMLInputTypeAttribute | undefined; minLength?: number | undefined; label?: string | undefined; id?: string | undefined; autoFocus?: boolean | undefined; placeholder?: string | undefined; }> & { ...; }'.
|
build (18):
src/components/input/Input.stories.ts#L45
Type '{ size: string; label: string; placeholder: string; id: string; }' is not assignable to type 'Partial<{ type?: HTMLInputTypeAttribute | undefined; minLength?: number | undefined; label?: string | undefined; id?: string | undefined; autoFocus?: boolean | undefined; placeholder?: string | undefined; }> & { ...; }'.
|
build (18):
src/components/input/Input.stories.ts#L54
Type '{ size: string; label: string; placeholder: string; id: string; }' is not assignable to type 'Partial<{ type?: HTMLInputTypeAttribute | undefined; minLength?: number | undefined; label?: string | undefined; id?: string | undefined; autoFocus?: boolean | undefined; placeholder?: string | undefined; }> & { ...; }'.
|
build (18):
src/components/input/Input.stories.ts#L63
Type '{ primary: true; label: string; id: string; placeholder: string; backgroundColor: string; }' is not assignable to type 'Partial<{ type?: HTMLInputTypeAttribute | undefined; minLength?: number | undefined; label?: string | undefined; id?: string | undefined; autoFocus?: boolean | undefined; placeholder?: string | undefined; }> & { ...; }'.
|
build (18):
src/components/label/Label.stories.ts#L17
Type '{ backgroundColor: { control: string; }; }' is not assignable to type 'Partial<ArgTypes<LabelProps>>'.
|
build (18):
src/components/label/Label.stories.ts#L27
Type '{ primary: true; label: string; }' is not assignable to type 'Partial<{ label?: string | undefined; htmlFor?: string | undefined; }> & { label?: string | undefined; htmlFor?: string | undefined; }'.
|
build (18):
src/components/label/Label.stories.ts#L40
Type '{ size: string; label: string; }' is not assignable to type 'Partial<{ label?: string | undefined; htmlFor?: string | undefined; }> & { label?: string | undefined; htmlFor?: string | undefined; }'.
|
build (18):
src/components/label/Label.stories.ts#L47
Type '{ size: string; label: string; }' is not assignable to type 'Partial<{ label?: string | undefined; htmlFor?: string | undefined; }> & { label?: string | undefined; htmlFor?: string | undefined; }'.
|
build (18):
src/components/label/Label.stories.ts#L54
Type '{ primary: true; label: string; backgroundColor: string; }' is not assignable to type 'Partial<{ label?: string | undefined; htmlFor?: string | undefined; }> & { label?: string | undefined; htmlFor?: string | undefined; }'.
|