This repository has been archived on 2024-11-11. You can view files and clone it, but cannot push or open issues or pull requests.
react-component-form/example/components/design/TextSpecial.tsx

18 lines
392 B
TypeScript

import classNames from "clsx"
export interface TextSpecialProps
extends React.ComponentPropsWithoutRef<"span"> {}
export const TextSpecial: React.FC<TextSpecialProps> = (props) => {
const { children, className, ...rest } = props
return (
<span
className={classNames("text-green-800 dark:text-green-400", className)}
{...rest}
>
{children}
</span>
)
}