@public-ui/schema
TypeScript icon, indicating that this package has built-in type declarations

2.0.15 • Public • Published

KoliBri - Schema

The Schema module contains the concrete specification of the component library. This includes the list of tag names and translation keys.

More information on modularization can be found in the architecture concept.
More about the project can be found in the documentation.

Installation

You can install the KoliBri schema with npm, pnpm or yarn:

npm i -g @public-ui/schema
pnpm i -g @public-ui/schema
yarn add -g @public-ui/schema

Usage

The KoliBri object can be used to register themes and translations:

import { KoliBri } from '@public-ui/schema';

KoliBri.createTranslation('de', {
	/* translations */
});
KoliBri.createTheme('default', {
	/* component definitions */
});

/@public-ui/schema/

    Package Sidebar

    Install

    npm i @public-ui/schema

    Weekly Downloads

    746

    Version

    2.0.15

    License

    EUPL-1.2

    Unpacked Size

    198 kB

    Total Files

    6

    Last publish

    Collaborators

    • itzbund
    • m.oppitz