Скилл переносится из ~/.claude/skills/aura-design в репозиторий обвязки: SKILL.md, справочники reference/ и набор kit/ (токены, base.css, компоненты React, оболочка AppShell, тест токенов, test-setup, примеры входа). install.sh ставит его в ~/.claude/skills/aura-design, --check его видит. tests/test-aura-design.sh проверяет структуру и инварианты набора. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
17 lines
623 B
TypeScript
17 lines
623 B
TypeScript
import type { ReactNode } from "react";
|
|
|
|
export function PageHeader({ title, subtitle, actions, children }: { title: ReactNode; subtitle?: ReactNode; actions?: ReactNode; children?: ReactNode }) {
|
|
return (
|
|
<header className="ui-page-header">
|
|
<div className="ui-page-header__row">
|
|
<div className="ui-page-header__text">
|
|
<h1 className="ui-page-header__title">{title}</h1>
|
|
{subtitle && <p className="ui-page-header__subtitle">{subtitle}</p>}
|
|
</div>
|
|
{actions && <div className="ui-page-header__actions">{actions}</div>}
|
|
</div>
|
|
{children}
|
|
</header>
|
|
);
|
|
}
|