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)

25 lines (23 loc) 468 B
import "../../chunks/chunk-U5RRZUYZ.js"; // src/backend/test/ExampleTypes.ts import { type } from "alinea/core"; import { path, tab, tabs, text } from "alinea/input"; var TypeWithTabs = type("Type", { title: text("Title"), path: path("Path"), ...tabs( tab("Tab 1", { name: path("Name") }), tab("Tab 2", { name: text("Name"), name2: text("Name") }) ), [type.meta]: { isContainer: true } }); export { TypeWithTabs };