🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

aimer-preact

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aimer-preact

Demonstrate your Preact components with Aimer.

1.0.6
latest
npm
Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 01 Nov 2017

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