UNPKG

@rainbow-me/rainbowkit

Version:
50 lines (47 loc) 753 B
"use client"; import { Box } from "./chunk-ZKEPQLOV.js"; // src/components/Text/Text.tsx import React from "react"; var Text = React.forwardRef( ({ as = "div", children, className, color, display, font = "body", id, size = "16", style, tabIndex, textAlign = "inherit", weight = "regular", testId }, ref) => { return /* @__PURE__ */ React.createElement( Box, { as, className, color, display, fontFamily: font, fontSize: size, fontWeight: weight, id, ref, style, tabIndex, textAlign, testId }, children ); } ); Text.displayName = "Text"; export { Text };