5a1e185b1a
phosphor console v1.1 设计系统(从现网 web/style.css 演化):tokens(colors/effects/ typography/fonts) + components(core/forms/surfaces .jsx) + ui_kits(console + console_mobile) + assets/icons(15 双色 SVG) + guidelines + CLAUDE/SKILL/readme。供 B1–B6 重构任务对照实现。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
17 lines
490 B
TypeScript
17 lines
490 B
TypeScript
/**
|
|
* 多行文本:纵向可拉伸。danger 形态(红 dim 边)用于驳回意见(reject 必填理由)。
|
|
*/
|
|
export interface TextareaProps {
|
|
label?: string;
|
|
required?: boolean;
|
|
placeholder?: string;
|
|
value?: string;
|
|
defaultValue?: string;
|
|
onChange?: (value: string) => void;
|
|
minHeight?: number;
|
|
/** 红 dim 边框 — 驳回意见输入 */
|
|
danger?: boolean;
|
|
style?: React.CSSProperties;
|
|
}
|
|
export declare function Textarea(props: TextareaProps): JSX.Element;
|