@doc-blocks/responsive-story
TypeScript icon, indicating that this package has built-in type declarations

0.8.15 • Public • Published

@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" />;

/@doc-blocks/responsive-story/

    Package Sidebar

    Install

    npm i @doc-blocks/responsive-story

    Weekly Downloads

    1

    Version

    0.8.15

    License

    MIT

    Unpacked Size

    67.4 kB

    Total Files

    12

    Last publish

    Collaborators

    • alisowski