a0fa66e8f5
Co-authored-by: Walid <87608619+WalidKorchi@users.noreply.github.com>
22 lines
481 B
TypeScript
22 lines
481 B
TypeScript
import { Meta, Story } from '@storybook/react'
|
|
import { user, userSettings } from '../../cypress/fixtures/users/user'
|
|
|
|
import { UserProfile as Component, UserProfileProps } from './UserProfile'
|
|
|
|
const Stories: Meta = {
|
|
title: 'UserProfile',
|
|
component: Component
|
|
}
|
|
|
|
export default Stories
|
|
|
|
export const UserProfile: Story<UserProfileProps> = (arguments_) => {
|
|
return <Component {...arguments_} />
|
|
}
|
|
UserProfile.args = {
|
|
user: {
|
|
...user,
|
|
settings: userSettings
|
|
}
|
|
}
|