refactor the interfaces #1117
Annotations
6 errors
Run npm run build:
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'.
|
Run npm run build:
src/components/Toggle/Toggle.stories.tsx#L8
Type '{ size: "sm"; value: string; onClick: () => void; }' is not assignable to type 'IntrinsicAttributes & ToggleProps'.
|
Run npm run build:
src/components/Toggle/Toggle.stories.tsx#L10
Type '{ value: string; }' is not assignable to type 'IntrinsicAttributes & ToggleProps'.
|
Run npm run build:
src/components/Toggle/Toggle.stories.tsx#L12
Type '{ size: "lg"; value: string; }' is not assignable to type 'IntrinsicAttributes & ToggleProps'.
|
Run npm run build:
src/components/Toggle/Toggle.stories.tsx#L14
Type '{ value: string; disabled: true; }' is not assignable to type 'IntrinsicAttributes & ToggleProps'.
|
Run npm run build
Process completed with exit code 2.
|
The logs for this run have expired and are no longer available.
Loading