@cainthus/alex-library
Version:
Component React library for Cainthus - Alex Dashboard.
15 lines (12 loc) • 317 B
text/typescript
import { ReactNode } from "react";
export type Props = {
children: ReactNode,
tag?: string,
weight?: string,
className?: string
}& Partial<DefaultProps>;
export const defaultProps = {
tag: 'p',
weight: 'light' as 'lighter' | 'bold' | 'light'
};
export type DefaultProps = Readonly<typeof defaultProps>;