REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 699 B
Close
//proc/thread-self/root/home/byroehnu/.trash/node_modules11/@adminjs/design-system/src/atoms/avatar/avatar.stories.tsx
Text
Base64
import { Meta, StoryObj } from '@storybook/react' import React from 'react' import Avatar from './avatar.jsx' export const Default: StoryObj<typeof Avatar> = {} export const WithLetter: StoryObj<typeof Avatar> = { render: ({ alt }) => ( <Avatar alt={alt}> {alt .split(' ') .map((w) => w.charAt(0)) .join('')} </Avatar> ), } const meta: Meta<typeof Avatar> = { title: 'DesignSystem/Atoms/Avatar', component: Avatar, args: { src: 'https://images.unsplash.com/photo-1612144431180-2d672779556c?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=870&q=80', alt: 'Bubble Avatar', }, } export default meta
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 3
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
avatar.stories.tsx
699 B
lrw-r--r--
2026-02-28 00:31:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
avatar.tsx
961 B
lrw-r--r--
2026-02-28 00:31:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.ts
29 B
lrw-r--r--
2026-02-28 00:31:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).