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', {
});
KoliBri.createTheme('default', {
});