1.5.1 • Published 5 months ago
@thg-altitude/compound v1.5.1
Compound
Compatibility
Language | Supported |
---|---|
React | ✅ |
NextJS (React) | ✅ |
Vue 2/Nuxt 2 | ❌ |
Vue 3/Nuxt 3 | ✅ |
Setup In Your Project
Setup your React/Vue app and simply run
npm i @thg-altitude/compound
or
yarn add @thg-altitude/compound
Using in your project
Import the module in your preferred file I.E with the language of choice appended to the end of the import. Then reference in your code passing the relevant props where necessary.
# Vue Import
import { FormButton } from '@thg-altitude/compound/vue'
# React Import
import { FormButton } from '@thg-altitude/compound/react'