react-kindling
Advanced tools
| /// <reference types="react" /> | ||
| import type { Meta, StoryObj } from '@storybook/react'; | ||
| declare const StoryComponenet: ({ backgroundColor, label, ...props }: import("../components/Example").ExampleProps) => import("react").JSX.Element; | ||
| declare const meta: Meta<typeof StoryComponenet>; | ||
| declare const StoryComponent: ({ backgroundColor, label, ...props }: import("../components/Example").ExampleProps) => import("react").JSX.Element; | ||
| declare const meta: Meta<typeof StoryComponent>; | ||
| export default meta; | ||
@@ -6,0 +6,0 @@ type Story = StoryObj<typeof meta>; |
@@ -6,6 +6,9 @@ "use strict"; | ||
| // === Setup === | ||
| const StoryComponenet = Example_1.Example; // <-- Set to your component | ||
| const StoryComponent = Example_1.Example; // <-- Set to your component | ||
| const meta = { | ||
| title: 'Stories/Example', // <-- Set to your story title | ||
| component: StoryComponenet, | ||
| component: StoryComponent, | ||
| parameters: { | ||
| options: { showPanel: false }, // Don't show addons panel | ||
| }, | ||
| }; | ||
@@ -12,0 +15,0 @@ exports.default = meta; |
+1
-1
| MIT License | ||
| Copyright © 2023 Justin Mahar https://github.com/justinmahar | ||
| Copyright © 2024 Justin Mahar https://github.com/justinmahar | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
+1
-1
| { | ||
| "name": "react-kindling", | ||
| "version": "3.0.3", | ||
| "version": "3.0.4", | ||
| "author": "Justin Mahar <contact@justinmahar.com>", | ||
@@ -5,0 +5,0 @@ "description": "A template to build, test, and share React components and hooks easily.", |
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
110223
0.08%265
1.15%