@fidely-ui/react
Version:
Fidely UI is a modern, beautifully crafted React design system powered by Ark UI and Panda CSS, delivering accessible and themeable components for building exceptional web apps
13 lines (12 loc) • 480 B
JavaScript
'use client';
import { jsx as _jsx } from "react/jsx-runtime";
import { forwardRef } from 'react';
import { ark } from '@ark-ui/react/factory';
import { styled } from '@fidely-ui/styled-system/jsx';
import { text } from '@fidely-ui/styled-system/recipes';
const StyledText = styled(ark.p, text);
export const Text = forwardRef(function Text(props, ref) {
const { className, ...rest } = props;
return _jsx(StyledText, { ref: ref, ...rest });
});
Text.displayName = 'Text';