@storybook/react-native

  • Version 7.6.18
  • Published
  • 379 kB
  • 22 dependencies
  • MIT license

Install

npm i @storybook/react-native
yarn add @storybook/react-native
pnpm add @storybook/react-native

Overview

A better way to develop React Native Components for your app

Index

Functions

function getProjectAnnotations

getProjectAnnotations: (
view: View,
annotations: any[]
) => () => Promise<ProjectAnnotations<ReactRenderer>>;

    function prepareStories

    prepareStories: ({
    storyEntries,
    }: {
    storyEntries: Array<NormalizedStoriesSpecifier & { req: any }>;
    }) => { index: StoryIndex; importMap: Record<string, any> };

      function start

      start: ({
      annotations,
      storyEntries,
      }: {
      storyEntries: Array<NormalizedStoriesSpecifier & { req: any }>;
      annotations: any[];
      }) => View;

        Interfaces

        interface StorybookConfig

        interface StorybookConfig {}

          property addons

          addons: string[];

            property stories

            stories: StorybookConfig$1['stories'];

              Package Files (1)

              Dependencies (22)

              Dev Dependencies (10)

              Peer Dependencies (3)

              Badge

              To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

              You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@storybook/react-native.

              • Markdown
                [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@storybook/react-native)
              • HTML
                <a href="https://www.jsdocs.io/package/@storybook/react-native"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>