1.4.7 • Published 6 years ago

react-story v1.4.7

Weekly downloads
24
License
MIT
Repository
-
Last release
6 years ago

react-story

Travis npm package Coveralls

Describe react-story here.

Usage

import React from 'react'
import { Demo, PropsTable } from '../../../../src'
import Button from '../my-library/Button'
import ButtonRaw from '!raw-loader!../my-library/Button'
import Markdown from './Button.md'

const ButtonNormal = () => (
  <Demo
    name="Normal Button"
    desc="Normal Buttons"
    code={Markdown}
  >
    <Button>Hello</Button>
    <Button>Hello</Button>
    <Button>Hello</Button>
  </Demo>
)

const DemoComponent = () => {
  return (
    <Story>
      <ButtonNormal />
      <PropsTable
        demonstrating={Button}
        raw={ButtonRaw}
      />
    </Story>
  )
}

export default {
  name: 'Button',
  component: DemoComponent,
  children: []
}
1.4.7

6 years ago

1.4.6

6 years ago

1.4.5

7 years ago

1.4.4

7 years ago

1.4.2

7 years ago

1.4.1

7 years ago

1.4.0

7 years ago

1.3.0

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago