File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed
packages/json-table-schema-visualizer/src/components/Messages Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ import { type StoryObj , type Meta } from "@storybook/react" ;
2+
3+ import NoSchemaMessage from "./NoSchemaMessage" ;
4+
5+ const meta = {
6+ title : "components/Messages/NoSchemaMessage" ,
7+ component : NoSchemaMessage ,
8+ } satisfies Meta < typeof NoSchemaMessage > ;
9+
10+ export default meta ;
11+
12+ type Story = StoryObj < typeof NoSchemaMessage > ;
13+
14+ export const NoSchemaMessageStory : Story = {
15+ render : ( ) => < NoSchemaMessage /> ,
16+ } ;
Original file line number Diff line number Diff line change 1+ import MessageWrapper from "./MessageWrapper" ;
2+
3+ const NoSchemaMessage = ( ) => {
4+ return (
5+ < MessageWrapper >
6+ < p > No schema found</ p >
7+ </ MessageWrapper >
8+ ) ;
9+ } ;
10+
11+ export default NoSchemaMessage ;
You can’t perform that action at this time.
0 commit comments