UNPKG

element-book

Version:

An [`element-vir`](https://npmjs.com/package/element-vir) drop-in element for building, testing, and demonstrating a collection of elements (or, in other words, a design system).

20 lines (19 loc) 541 B
/** * All possible types for element-book entries. * * @category Internal */ export declare enum BookEntryType { /** A single element example. */ ElementExample = "element-example", /** An individual book page with element examples and/or sub-pages. */ Page = "page", /** Tree root. Not for external use. */ Root = "root" } /** * A union of all possible element-book entry types. * * @category Internal */ export type AnyBookEntryType = BookEntryType.ElementExample | BookEntryType.Page | BookEntryType.Root;