UNPKG

@taml/react

Version:

React component for rendering TAML (Terminal ANSI Markup Language) as styled JSX elements

19 lines 437 B
/** * @taml/react - React component for rendering TAML (Terminal ANSI Markup Language) * * @example * ```tsx * import { Taml } from '@taml/react'; * import '@taml/react/styles.css'; * * function App() { * return ( * <Taml> * {"<red>Error:</red> <bold>Something went wrong</bold>"} * </Taml> * ); * } * ``` */ export { Taml, default, type TamlProps } from "./Taml.js"; //# sourceMappingURL=index.d.ts.map