@wordpress/components
Version:
UI components for WordPress.
19 lines • 532 B
TypeScript
export default Text;
/**
* `Text` is a core component that renders text in the library, using the
* library's typography system.
*
* `Text` can be used to render any text-content, like an HTML `p` or `span`.
*
* @example
*
* ```jsx
* import { __experimentalText as Text } from `@wordpress/components`;
*
* function Example() {
* return <Text>Code is Poetry</Text>;
* }
* ```
*/
declare const Text: import("../ui/context").PolymorphicComponent<"span", import("./types").Props>;
//# sourceMappingURL=component.d.ts.map