@watheia/microlab.ui.atoms.text.themed-text
Version:
16 lines (15 loc) • 411 B
TypeScript
import { HTMLAttributes } from "react";
export declare type ThemedTextProps = HTMLAttributes<HTMLSpanElement>;
/**
* Text colored with the current base color.
*
* using css variable:
* - --base-color
* @name ThemedText
*/
export declare function ThemedText(props: ThemedTextProps): JSX.Element;
/**
* Same component as a pure-css class.
* @name themedText
*/
export declare const themedText: string;