diff --git a/components/solid/src/components/ui/styled/combobox.tsx b/components/solid/src/components/ui/styled/combobox.tsx index 00ae3edf..b8e6d925 100644 --- a/components/solid/src/components/ui/styled/combobox.tsx +++ b/components/solid/src/components/ui/styled/combobox.tsx @@ -91,4 +91,4 @@ export type { ComboboxInputValueChangeDetails as InputValueChangeDetails, ComboboxOpenChangeDetails as OpenChangeDetails, ComboboxValueChangeDetails as ValueChangeDetails, -} from '@ark-ui/react/combobox' +} from '@ark-ui/solid' diff --git a/components/solid/src/components/ui/styled/heading.tsx b/components/solid/src/components/ui/styled/heading.tsx index ecc7a325..f9d8a6e1 100644 --- a/components/solid/src/components/ui/styled/heading.tsx +++ b/components/solid/src/components/ui/styled/heading.tsx @@ -1,9 +1,9 @@ -import type { ComponentProps } from 'solid-js' +import type { ComponentProps, JSX } from 'solid-js' import { styled } from 'styled-system/jsx' import { type TextVariantProps, text } from 'styled-system/recipes' import type { StyledComponent } from 'styled-system/types' -type TextProps = TextVariantProps & { as?: React.ElementType } +type TextProps = TextVariantProps & { as?: JSX.Element } export type HeadingProps = ComponentProps export const Heading = styled('h2', text, { diff --git a/components/solid/src/components/ui/styled/text.tsx b/components/solid/src/components/ui/styled/text.tsx index 0ddc7ad6..8fc3b85c 100644 --- a/components/solid/src/components/ui/styled/text.tsx +++ b/components/solid/src/components/ui/styled/text.tsx @@ -1,9 +1,9 @@ -import type { ComponentProps } from 'solid-js' +import type { ComponentProps, JSX } from 'solid-js' import { styled } from 'styled-system/jsx' import { type TextVariantProps, text } from 'styled-system/recipes' import type { StyledComponent } from 'styled-system/types' -type ParagraphProps = TextVariantProps & { as?: JSX.ElementType } +type ParagraphProps = TextVariantProps & { as?: JSX.Element } export type TextProps = ComponentProps export const Text = styled('p', text) as StyledComponent<'p', ParagraphProps>