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