REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 898 B
Close
//proc/thread-self/root/home/byroehnu/.trash/node_modules11/@adminjs/design-system/src/atoms/link/link.stories.tsx
Text
Base64
import { Meta, StoryObj } from '@storybook/react' import React from 'react' import { Link } from './index.js' enum LinkVariant { Primary = 'primary', Danger = 'danger', Success = 'success', Info = 'info', Secondary = 'secondary', } enum LinkSize { Sm = 'sm', Lg = 'lg', } const variants = Object.values(LinkVariant) const sizes = Object.values(LinkSize) export const Default: StoryObj = { render: (props) => ( <Link {...props} href="/"> just a link </Link> ), } const meta: Meta<typeof Link> = { title: 'DesignSystem/Atoms/Link', component: Link, args: { uppercase: false, variant: LinkVariant.Primary, size: LinkSize.Sm, }, argTypes: { uppercase: { control: { type: 'boolean' } }, variant: { options: variants, control: { type: 'select' } }, size: { options: sizes, 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
27 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
link.stories.tsx
898 B
lrw-r--r--
2026-02-28 00:31:58
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
link.tsx
2.80 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).