@vimeo/iris
Version:
Vimeo Design System
20 lines (19 loc) • 581 B
TypeScript
import { ReactElement, FunctionComponent } from 'react';
import { IrisProps } from '../../utils';
export interface Minors {
Link: FunctionComponent<IrisProps<LinkProps>>;
Current: FunctionComponent<IrisProps<CurrentProps>>;
}
type LinkProps = IrisProps<{
href: string;
}>;
export declare function Link({ children, href, ...props }: {
[x: string]: any;
children: any;
href: any;
}): JSX.Element;
type CurrentProps = IrisProps<{
icon?: ReactElement;
}>;
export declare function Current({ children, icon, ...props }: CurrentProps): JSX.Element;
export {};