Skip to content

refactor the interfaces #1117

refactor the interfaces

refactor the interfaces #1117

Triggered via push January 5, 2024 19:13
Status Failure
Total duration 1m 8s
Artifacts

build.yml

on: push
Matrix: build-storybook
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

13 errors
build (16.x): src/components/Tabs/Tabs.stories.tsx#L27
Type '{ tabsConfig: ({ label: string; content: Element; onClickTab: () => void; } | { label: string; content: Element; onClickTab?: undefined; })[]; defaultIndex: number; }' is not assignable to type 'TabsProps'.
build (16.x): src/components/Toggle/Toggle.stories.tsx#L8
Type '{ size: "sm"; value: string; onClick: () => void; }' is not assignable to type 'IntrinsicAttributes & ToggleProps'.
build (16.x): src/components/Toggle/Toggle.stories.tsx#L10
Type '{ value: string; }' is not assignable to type 'IntrinsicAttributes & ToggleProps'.
build (16.x): src/components/Toggle/Toggle.stories.tsx#L12
Type '{ size: "lg"; value: string; }' is not assignable to type 'IntrinsicAttributes & ToggleProps'.
build (16.x): src/components/Toggle/Toggle.stories.tsx#L14
Type '{ value: string; disabled: true; }' is not assignable to type 'IntrinsicAttributes & ToggleProps'.
build (16.x)
Process completed with exit code 2.
build (18.x)
The job was canceled because "_16_x" failed.
build (18.x): src/components/Tabs/Tabs.stories.tsx#L27
Type '{ tabsConfig: ({ label: string; content: Element; onClickTab: () => void; } | { label: string; content: Element; onClickTab?: undefined; })[]; defaultIndex: number; }' is not assignable to type 'TabsProps'.
build (18.x): src/components/Toggle/Toggle.stories.tsx#L8
Type '{ size: "sm"; value: string; onClick: () => void; }' is not assignable to type 'IntrinsicAttributes & ToggleProps'.
build (18.x): src/components/Toggle/Toggle.stories.tsx#L10
Type '{ value: string; }' is not assignable to type 'IntrinsicAttributes & ToggleProps'.
build (18.x): src/components/Toggle/Toggle.stories.tsx#L12
Type '{ size: "lg"; value: string; }' is not assignable to type 'IntrinsicAttributes & ToggleProps'.
build (18.x): src/components/Toggle/Toggle.stories.tsx#L14
Type '{ value: string; disabled: true; }' is not assignable to type 'IntrinsicAttributes & ToggleProps'.
build (18.x)
Process completed with exit code 2.