/
Alex_Ural
/
opencode
Обзор
Документация
Войти
/
Alex_Ural
/
opencode
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
packages/ui/src/components/inline-input.stories.tsx
50 строк
1018 B
Adam
chore: storybook (#15285)
27 фев 2026, 01:05
Не верифицирован
27 фев 2026, 01:05
05d77b7
Код
Авторство
О чём код?
// @ts-nocheck import * as mod from "./inline-input" import { create } from "../storybook/scaffold" const docs = `### Overview Compact inline input for short values. Use inside text or table rows for quick edits. ### API - Optional: \`width\` to set a fixed width. - Accepts standard input props. ### Variants and states - No built-in variants; style via class or width. ### Behavior - Uses inline width when provided. ### Accessibility - Provide a label or aria-label when used standalone. ### Theming/tokens - Uses \`data-component="inline-input"\`. ` const story = create({ title: "UI/InlineInput", mod, args: { placeholder: "Type...", value: "Inline" } }) export default { title: "UI/InlineInput", id: "components-inline-input", component: story.meta.component, tags: ["autodocs"], parameters: { docs: { description: { component: docs, }, }, }, } export const Basic = story.Basic export const FixedWidth = { args: { value: "80px", width: "80px", }, }