robust-react-ui
Version:
A React component library, built with a focus on accessibility, extensibility and reusability.
18 lines (17 loc) • 427 B
TypeScript
import { ReactNode } from 'react';
export interface IParagraphProps {
children: ReactNode;
/**
* Provides the component with an id attribute. May be used for accessibility purposes.
*/
id?: string;
/**
* Toggles font weight to bold
*/
bolded?: boolean;
/**
* Size setting for component.
* @default medium
*/
size?: 'small' | 'medium' | 'large';
}