tcomb-form-templates-bootstrap
v0.2.4
Published
Bootstrap templates for tcomb-form
Downloads
11,144
Readme
Default templates used by tcomb-form, so you are not supposed to do a manual setup.
Manual setup
npm install tcomb-form
npm install tcomb-form-templates-bootstrap
import t from 'tcomb-form/lib'
import en from 'tcomb-form/lib/i18n/en'
import templates from 'tcomb-form-templates-bootstrap'
t.form.Form.i18n = en
t.form.Form.templates = templates