Skip to content

Commit

Permalink
fix outdated Ark types
Browse files Browse the repository at this point in the history
  • Loading branch information
Southclaws committed Apr 27, 2024
1 parent 6a9dd16 commit c707984
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/src/theme/components/Checkbox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { type CheckboxVariantProps, checkbox } from "@/styled-system/recipes";
const { withProvider, withContext } = createStyleContext(checkbox);

export * from "@ark-ui/react/checkbox";
export type CheckboxProps = Ark.CheckboxRootProps & CheckboxVariantProps;
export type CheckboxProps = Ark.CheckboxProps & CheckboxVariantProps;

const CheckboxRoot = withProvider(styled(Ark.Checkbox.Root), "root");
export const CheckboxControl = withContext(
Expand Down
2 changes: 1 addition & 1 deletion web/src/theme/components/Menu/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { type MenuVariantProps, menu } from "@/styled-system/recipes";
const { withProvider, withContext } = createStyleContext(menu);

export * from "@ark-ui/react/menu";
export type MenuProps = Ark.MenuRootProps & MenuVariantProps;
export type MenuProps = Ark.MenuProps & MenuVariantProps;

const MenuRoot = withProvider(styled(Ark.Menu.Root));
export const MenuArrow = withContext(styled(Ark.Menu.Arrow), "arrow");
Expand Down

0 comments on commit c707984

Please sign in to comment.