REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 1.11 KB
Close
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/@adminjs/design-system/src/atoms/label/label.stories.tsx
Text
Base64
/* eslint-disable react/jsx-closing-tag-location */ import { Meta, StoryObj } from '@storybook/react' import React from 'react' import StoryWrapper from '../../utils/story-wrapper.jsx' import { Box } from '../index.js' import { Label } from './index.js' const variants = ['primary', 'danger', 'success', 'info', 'secondary'] as const export const Default: StoryObj = { render: (args) => ( <Box width={1}> <StoryWrapper label="Label"> <Label {...args}>Example label</Label> </StoryWrapper> </Box> ), } const meta: Meta<typeof Label> = { title: 'DesignSystem/Atoms/Label', component: Label, args: { required: false, uppercase: false, disabled: false, inline: false, variant: 'default', size: 'default', }, argTypes: { required: { control: { type: 'boolean' } }, uppercase: { control: { type: 'boolean' } }, disabled: { control: { type: 'boolean' } }, inline: { control: { type: 'boolean' } }, variant: { options: variants, control: { type: 'select' } }, size: { options: ['default', 'lg'], control: { type: 'select' } }, }, } 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
index.ts
28 B
lrw-r--r--
2026-02-28 00:31:46
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
label.stories.tsx
1.11 KB
lrw-r--r--
2026-02-28 00:31:56
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
label.tsx
4.14 KB
lrw-r--r--
2026-02-28 00:31:58
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).