Skip to content

Commit

Permalink
fixup for the error
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbreese committed Feb 28, 2024
1 parent badc996 commit f083173
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .storybook/stories/paragraphs/MediaWithCaption.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,20 @@ export default meta;
type Story = StoryObj<ComponentStoryProps>;

// More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args
export const Banner: Story = {
export const Caption: Story = {
render: ({ ...args }) => {
return <StanfordMediaCaption {...args} />
},
args: {
paragraph: {
id:"6fa23537-dda7-4861-930a-648445d9904c",
composition: {
layout: null,
position: {
parentId: "7a29ef1e-e98c-4463-937d-0084a7dd70cd",
region:"main"
}
composition: {},
langcode: {},
created: {
offset: "",
timestamp: Math.round(new Date().getTime() / 1000),
time: new Date().toISOString(),
timezone: "America/Los_Angeles"
},
suMediaCaptionCaption: {
processed:"<p>Here is my caption.</p>"
Expand Down

0 comments on commit f083173

Please sign in to comment.