UNPKG

@yamada-ui/react

Version:

React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion

33 lines (32 loc) 1.19 kB
import { ThemeProps } from "../../core/system/index.types.js"; import { CSSProps } from "../../core/css/index.types.js"; import { Component, HTMLStyledProps } from "../../core/components/index.types.js"; import "../../core/index.js"; import { TextStyle } from "./text.style.js"; import "../../index.js"; import * as react2634 from "react"; //#region src/components/text/text.d.ts interface TextProps extends HTMLStyledProps<"p">, ThemeProps<TextStyle> { /** * The CSS `text-align` property. */ align?: CSSProps["textAlign"]; /** * The CSS `text-transform` property. */ casing?: CSSProps["textTransform"]; /** * The CSS `text-decoration` property. */ decoration?: CSSProps["textDecoration"]; } declare const TextPropsContext: react2634.Context<Partial<TextProps> | undefined>, useTextPropsContext: () => Partial<TextProps> | undefined; /** * `Text` is a component that represents a paragraph of text. By default, it renders a `p` element. * * @see https://yamada-ui.com/docs/components/text */ declare const Text: Component<"p", TextProps>; //#endregion export { Text, TextProps, TextPropsContext, useTextPropsContext }; //# sourceMappingURL=text.d.ts.map