soignant-nomade-ui
Version:
A react library for the soignant-nomade design system. You can find a storybook project inside it
12 lines (11 loc) • 423 B
TypeScript
import React from "react";
declare type TextSize = "big" | "medium" | "normal" | "small";
interface TextComponentProps {
size?: TextSize;
display?: "inline" | "inline-block" | "block";
mode?: "default" | "bold";
textDecoration?: string;
children: React.ReactNode;
}
export declare const Text: ({ size, display, mode, children, textDecoration }: TextComponentProps) => JSX.Element;
export {};