crevid-ui

1.0.38 • Public • Published

README

Crevid UI

All of Crevid's reusable and composable components should be HERE.

Usage

npm install crevid-ui import from 'crevid-ui/lib/*'

Contribution guidelines

#!jsx
const TextInput = ({ type, value, name, events, className }) => {
  return (
    <input
      className={classNames('form-control', style.input, className)}
      type={type}
      value={value}
      name={name}
      {...events} />
  )
}
  • Local style
#!css
:local(.input) {
  background-color: @input-background;
  border: 1px solid @input-border;
  padding: 6px 12px;
  font-size: 14px;
  ...
}
#!javascript

import style from './style/input.less'

<input className={classNames('form-control', style.input, className)} ... />

  • Eslint imwatchingu.png

Readme

Keywords

Package Sidebar

Install

npm i crevid-ui

Weekly Downloads

2

Version

1.0.38

License

Crevid

Last publish

Collaborators

  • akitoeki
  • easymention