1.0.1 • Published 3 years ago

chansen-lib-test v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

CHansenCode Component Library

This project is a collection of components designed for the use with CHansenDesign web-templates, cms-template. It serves as a centralised single-truth repository from which the projects gets templates

Usage


npm install chansen-lib
import { nameOfComponent } from "chansenlib";

Component List


Base components

nameimport
Form<Form> <Input /> <Button /> </Form>-
Input<Input />-
Textarea<Textarea />-
Select<Select> <Option /> </Select>-
Options<Option />-

Graphical components

nameimport
Card<Card />Img & Text
CodeBlock<CodeBlock code={codeVar} />Syntax highlighted codeblock

General components

nameimport
Dropdown<Dropdown>{children}</Dropdown>-
CodeBlock<CodeBlock code={codeVar} />-

Structural components

Section<Section />-

Dependencies


  • cow
  • cow 2
1.0.1

3 years ago

1.0.0

3 years ago