Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tata-v/briefy-storybook


https://github.com/tata-v/briefy-storybook

npm react storybook styled-components typescript

Last synced: 12 days ago
JSON representation

Awesome Lists containing this project

README

        

# briefy storybook

🔗 _**storybook deploy link**_

## Installation
```bash
npm i -D briefy-design
```

## Usage

**Button**

```jsx
import { Button } from 'briefy-design'

function MainPage() {
return (
alert('click!')}
title="name"
size="medium"
mode="lineBlue"
/>
)
}
```

**Input**

```jsx
import { Input } from 'briefy-design'

function MainPage() {
return (
) => console.log(e.target.value)}
/>
)
}
```

**Interest**

```jsx
import { Interest } from 'briefy-design'

function MainPage() {
return (
alert(title)} />
)
}
```

**ArticleCard**

```jsx
import { ArticleCard } from 'briefy-design'

function MainPage() {
return (
alert('클릭!')}
/>
)
}
```

**NewsLetterCard**

```jsx
import { NewsLetterCard } from 'briefy-design'

function MainPage() {
return (
alert('뉴스레터')}
/>
)
}
```