robust-react-ui
Version:
A React component library, built with a focus on accessibility, extensibility and reusability.
24 lines (23 loc) • 542 B
TypeScript
import { ReactNode } from 'react';
export interface ILinkProps {
children: ReactNode;
/**
* Size setting for component.
* @default medium
*/
size?: 'small' | 'medium' | 'large';
/**
* Set display type, inline or block.
* @default inline
*/
display?: 'inline' | 'block';
href: string;
/**
* An accessible label.
*/
ariaLabel?: string;
/**
* Indicate id of component used to describe this component.
*/
ariaDescribedBy?: string;
}