1.0.3 • Published 7 years ago

aimer-react v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

Aimer React

Demonstrate your React components with Aimer.

Install

yarn add aimer-react --dev

Usage

import Aimer from 'aimer'
import 'aimer/dist/aimer.css'
import AimerReact from 'aimer-react'

// Import the component you wanna demonstrate
import MyButton from './path/to/button'

const aimer = new Aimer({
  // Magic happens here...
  adapter: AimerReact
})

aimer.add({
  title: 'with text',
  // Use a function that returns a React element 
  component: () => <MyButton>Hello World</MyButton>
})

aimer.start()

License

MIT © EGOIST

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago