@storybook/react-native

  • Version 7.6.20
  • Published
  • 380 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,
    options,
    }: {
    storyEntries: Array<NormalizedStoriesSpecifier & { req: any }>;
    options?: ReactNativeOptions;
    }) => { index: StoryIndex; importMap: Record<string, any> };

      function start

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

        Interfaces

        interface StorybookConfig

        interface StorybookConfig {}

          property addons

          addons: string[];

            property reactNative

            reactNative?: ReactNativeOptions;

              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>