1.0.6 • Published 7 years ago

aimer-preact v1.0.6

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

Aimer Preact

Demonstrate your Preact components with Aimer.

Install

yarn add aimer-preact --dev

Usage

import Aimer from 'aimer'
import 'aimer/dist/aimer.css'
import AimerPreact from 'aimer-preact'

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

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

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

aimer.start()

License

MIT © EGOIST

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

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