| 14 | import { composeRefs } from '../utils/compose-refs' |
| 15 | |
| 16 | export interface PolymorphicProps { |
| 17 | /** |
| 18 | * Use the provided child element as the default rendered element, combining their props and behavior. |
| 19 | */ |
| 20 | asChild?: boolean | undefined |
| 21 | } |
| 22 | |
| 23 | type JsxElements = { [E in keyof JSX.IntrinsicElements]: ArkForwardRefComponent<E> } |
| 24 | type ArkForwardRefComponent<E extends React.ElementType> = React.ForwardRefExoticComponent<ArkPropsWithRef<E>> |
nothing calls this directly
no outgoing calls
no test coverage detected