import React from 'react'; import { Base, SxProp } from './Base'; import { ForwardRefComponent } from './polymorphic'; import { all, AllSystemProps, forwardSystemProps } from './system-props'; const defaultElement = 'a'; export type LinkProps = SxProp & AllSystemProps; type LinkComponent = ForwardRefComponent; export const Link = React.forwardRef( ({ as = defaultElement, ...props }, ref) => { return ( ); } ) as LinkComponent;