@doc-blocks/responsive-story

Welcome to my `ResponsiveStory` component.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@doc-blocks/responsive-story
2020.8.152 months ago2 years agoMinified + gzip package size for @doc-blocks/responsive-story in KB

Readme

@doc-blocks/responsive-story
Welcome to my ResponsiveStory component.

Installation

npm i @doc-blocks/responsive-story
# or with yarn
yarn add @doc-blocks/responsive-story

Add the following to your preview-head.html.
<link
  rel="stylesheet"
  href="https://marvelapp.github.io/devices.css/assets/devices.min.css"
/>

Usage

Provide the ID of a story to render in a iframe + mock device.
Example:
import { ResponsiveStory } from "@doc-blocks/responsive-story";

<ResponsiveStory id="components-row--basic-usage" />;