import { Meta, Stories, ArgTypes, Primary, Subtitle } from "@storybook/blocks";
import * as FieldHelperTextStories from "./src/field-helper-text.stories";
import packageInfo from "./package.json";
FieldHelperText
Version {packageInfo.version}
This is an internal component used for form fields.
Showcase
Properties
Installation
Via NPM
Add the dependency to your consumer app like "@purpurds/purpur": "^x.y.z"
In MyApp.tsx
import "@purpurds/purpur/styles.css";
In MyComponent.tsx
import { FieldHelperText } from "@purpurds/purpur";
export const MyComponent = () => {
return (
<div>
<FieldHelperText {...someProps}>Some content</FieldHelperText>
</div>
);
};