Add toggle button #326
Annotations
8 errors
Build:
src/components/button/overrides.tsx#L45
Element implicitly has an 'any' type because expression of type 'BUTTON_KIND' can't be used to index type '{ primary: { ":hover": { backgroundColor: "#292929"; color: "#7B7B7B"; }; }; secondary: { ":hover": { backgroundColor: "#292929"; color: "#7B7B7B"; }; }; tertiary: { ":hover": { backgroundColor: string; color: "#7B7B7B"; }; }; danger: { ...; }; }'.
|
Build:
src/components/modal/ui/ModalButton.tsx#L17
Type '{ children: ReactNode; className: string; kind: BUTTON_KIND; size: BUTTON_SIZE; shape: BUTTON_SHAPE; checked?: undefined; overrides?: ButtonOverrides | undefined; ... 8 more ...; role?: AriaRole | undefined; } | { ...; }' is not assignable to type 'IntrinsicAttributes & (({ checked?: undefined; kind: BUTTON_KIND.primary | BUTTON_KIND.secondary | BUTTON_KIND.tertiary | BUTTON_KIND.danger; ... 13 more ...; role?: AriaRole | undefined; } | { ...; }) & RefAttributes<...>)'.
|
Build:
src/components/navigation-bar/AuthDropdownContainer.tsx#L48
Type '{ children: Element[]; onClick: (() => void) | undefined; size: BUTTON_SIZE.mini; }' is not assignable to type 'IntrinsicAttributes & (({ checked?: undefined; kind: BUTTON_KIND.primary | BUTTON_KIND.secondary | BUTTON_KIND.tertiary | BUTTON_KIND.danger; ... 13 more ...; role?: AriaRole | undefined; } | { ...; }) & RefAttributes<...>)'.
|
Build:
src/components/navigation-bar/ui/LoginBlock.tsx#L16
Type '{ children: Element[]; onClick: (() => void) | undefined; size: BUTTON_SIZE.mini; }' is not assignable to type 'IntrinsicAttributes & (({ checked?: undefined; kind: BUTTON_KIND.primary | BUTTON_KIND.secondary | BUTTON_KIND.tertiary | BUTTON_KIND.danger; ... 13 more ...; role?: AriaRole | undefined; } | { ...; }) & RefAttributes<...>)'.
|
Build:
src/components/navigation-bar/ui/auth/AvatarBlock.tsx#L31
Type '{ children: ("" | Element | undefined)[]; size: BUTTON_SIZE.compact; }' is not assignable to type 'IntrinsicAttributes & (({ checked?: undefined; kind: BUTTON_KIND.primary | BUTTON_KIND.secondary | BUTTON_KIND.tertiary | BUTTON_KIND.danger; ... 13 more ...; role?: AriaRole | undefined; } | { ...; }) & RefAttributes<...>)'.
|
Build:
src/components/navigation-bar/ui/menu-navigation/MenuNavigation.tsx#L48
Type '{ children: Element; onClick: (() => void) | undefined; size: BUTTON_SIZE.compact; shape: BUTTON_SHAPE.square; }' is not assignable to type 'IntrinsicAttributes & (({ checked?: undefined; kind: BUTTON_KIND.primary | BUTTON_KIND.secondary | BUTTON_KIND.tertiary | BUTTON_KIND.danger; ... 13 more ...; role?: AriaRole | undefined; } | { ...; }) & RefAttributes<...>)'.
|
Build:
src/components/navigation-bar/ui/side-navigation/SideNavigationHeader.tsx#L27
Type '{ children: Element; size: BUTTON_SIZE.mini; onClick: () => unknown; }' is not assignable to type 'IntrinsicAttributes & (({ checked?: undefined; kind: BUTTON_KIND.primary | BUTTON_KIND.secondary | BUTTON_KIND.tertiary | BUTTON_KIND.danger; ... 13 more ...; role?: AriaRole | undefined; } | { ...; }) & RefAttributes<...>)'.
|
Build
Process completed with exit code 2.
|