@storybook/native-addon
This module contains an addon that can be used to interact with the appetize.io emulator. Currently, it lets you rotate the emulator left or right, take screenshots, and change the device that is being emulated.
Last updated 3 days ago by amalik2 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @storybook/native-addon 
SYNC missed versions from official npm registry.

@storybook/native-addon

This module contains an addon that can be used to interact with the appetize.io emulator.
Currently, it lets you rotate the emulator left or right, take screenshots, and change the device that is being emulated.

Installation

npm install @storybook/native-addon or yarn add @storybook/native-addon

Usage

Add "@storybook/native-addon/dist/register.js" to the addons section of your main.js file.

Add the following to your preview.js file:

import { DeviceDecorator } from "@storybook/native-addon";

export const decorators = [DeviceDecorator];

An example main.js can be found here.
An example preview.js can be found here.

Current Tags

  • 1.0.3-canary.27.388.0                                ...           canary (2 days ago)
  • 1.0.2                                ...           latest (3 days ago)

32 Versions

  • 1.0.3-canary.27.388.0                                ...           2 days ago
  • 1.0.2                                ...           3 days ago
  • 1.0.2-canary.26.380.0                                ...           3 days ago
  • 1.0.2-canary.25.367.0                                ...           3 days ago
  • 1.0.1                                ...           3 days ago
  • 1.0.1-canary.24.347.0                                ...           3 days ago
  • 1.0.1-canary.24.343.0                                ...           3 days ago
  • 1.0.1-canary.24.339.0                                ...           3 days ago
  • 1.0.1-canary.24.335.0                                ...           3 days ago
  • 1.0.1-canary.24.331.0                                ...           4 days ago
  • 1.0.0                                ...           16 days ago
  • 0.2.13-canary.23.322.0                                ...           16 days ago
  • 0.2.12                                ...           16 days ago
  • 0.2.12-canary.22.306.0                                ...           a month ago
  • 0.2.11                                ...           a month ago
  • 0.2.11-canary.19.297.0                                ...           a month ago
  • 0.2.10                                ...           3 months ago
  • 0.2.10-canary.17.288.0                                ...           3 months ago
  • 0.2.9                                ...           3 months ago
  • 0.2.9-canary.15.279.0                                ...           3 months ago
  • 0.2.9-canary.16.271.0                                ...           3 months ago
  • 0.2.9-canary.15.267.0                                ...           3 months ago
  • 0.2.8                                ...           3 months ago
  • 0.2.7                                ...           3 months ago
  • 0.2.7-canary.14.239.0                                ...           3 months ago
  • 0.2.6                                ...           3 months ago
  • 0.2.6-canary.13.225.0                                ...           3 months ago
  • 0.2.5                                ...           3 months ago
  • 0.2.4                                ...           3 months ago
  • 0.2.0                                ...           3 months ago
  • 0.1.7-canary.6.164.0                                ...           3 months ago
  • 0.1.7-canary.6.157.0                                ...           3 months ago
Downloads
Today 0
This Week 236
This Month 257
Last Day 10
Last Week 0
Last Month 23
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2017 © taobao.org |