Skip to content

Instantly share code, notes, and snippets.

@cinkagan
Created September 7, 2022 22:11
Show Gist options
  • Save cinkagan/7d09cc9ab0bec7f11e745945d9417910 to your computer and use it in GitHub Desktop.
Save cinkagan/7d09cc9ab0bec7f11e745945d9417910 to your computer and use it in GitHub Desktop.
React Native Storybook
import React from "react";
import { ComponentMeta } from "@storybook/react";
import Button from "shared-components/Button"; //React Native Component
export default {
title: "Button",
component: Button,
} as ComponentMeta<typeof Button>;
export const Default = (args: any) => <Button {...args} />;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment