tcomb-form-templates-semantic

semantic templates for tcomb-form

Usage no npm install needed!

<script type="module">
  import tcombFormTemplatesSemantic from 'https://cdn.skypack.dev/tcomb-form-templates-semantic';
</script>

README

Setup

npm install tcomb-form
npm install tcomb-form-templates-semantic
import t from 'tcomb-form/lib'
import en from 'tcomb-form/lib/i18n/en'
import templates from 'tcomb-form-templates-semantic'

t.form.Form.i18n = en
t.form.Form.templates = templates