import { Meta, Stories, ArgTypes, Primary, Title, Subtitle } from "@storybook/blocks";
import * as LabelStories from "./src/label.stories";
import { Label } from "./src/label";
import packageInfo from "./package.json";
Label
Version {packageInfo.version}
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";
In MyComponent.tsx
import { Label } from "@purpurds/purpur";
export const MyComponent = () => {
return (
<div>
<Label {...someProps}>Some content</Label>
</div>
);
};