New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@purpurds/button

Package Overview
Dependencies
Maintainers
2
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@purpurds/button

import { Meta, Stories, ArgTypes, Primary, Subtitle } from "@storybook/blocks";

4.1.1
npm
Version published
Weekly downloads
4.1K
0.73%
Maintainers
2
Weekly downloads
 
Created
Source

import { Meta, Stories, ArgTypes, Primary, Subtitle } from "@storybook/blocks";

import * as ButtonStories from "./src/button.stories"; import packageInfo from "./package.json";

Button

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 { Button } from "@purpurds/purpur";

export const MyComponent = () => {
  return (
    <div>
      <Button {...someProps}>Some content</Button>
    </div>
  );
};

FAQs

Package last updated on 18 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts