Skip to content

Commit

Permalink
Added Logo to Storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
cheeto-bandito committed Mar 3, 2024
1 parent 166e536 commit 5387906
Showing 1 changed file with 40 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import { Meta, StoryObj } from '@storybook/react';
import { Default as LogoComponent } from '../../../components/Basic Components/Logo';
const meta = {
title: 'Components/Logo',
component: LogoComponent,
parameters: {
layout: 'centered',
},
tags: ['autodocs'],
argTypes: {},
} satisfies Meta<typeof LogoComponent>;
export default meta;
type Story = StoryObj<typeof meta>;
export const Logo: Story = {
name: 'Logo ',
args: {
params: {
styles: '',
},
fields: {
Image: {
value: {
src: 'https://picsum.photos/1200/800',
alt: 'Logo',
width: '1200',
height: '800',
},
},
TargetUrl: {
value: {
href: 'https://www.sitecore.com',
anchor: 'Home',
},
},
ImageCaption: {
value: 'SUGCON 2024 Logo',
}
},
},
};

0 comments on commit 5387906

Please sign in to comment.