import { ElementType } from 'react'; export type AsProps = { as?: T; };