UNPKG

alinea

Version:

[![npm](https://img.shields.io/npm/v/alinea.svg)](https://npmjs.org/package/alinea) [![install size](https://packagephobia.com/badge?p=alinea)](https://packagephobia.com/result?p=alinea)

15 lines (14 loc) 697 B
import { ComponentType, HTMLAttributes } from 'react'; import { PropsWithAs } from './util/PropsWithAs.js'; export declare namespace AppBar { interface RootProps extends HTMLAttributes<HTMLElement> { variant?: 'draft' | 'editing' | 'published' | 'archived' | 'untranslated' | 'revision' | 'transition'; } function Root({ variant, ...props }: RootProps): import("react/jsx-runtime").JSX.Element; type ItemProps = PropsWithAs<{ icon?: ComponentType; full?: boolean; active?: boolean; } & HTMLAttributes<HTMLDivElement>>; function Item({ children, as: Tag, full, icon, active, ...props }: ItemProps): import("react/jsx-runtime").JSX.Element; }