🌮 taco
Taco is a bunch of components that work as layout primitives written with ReasonReact and styled-ppx available in JavaScript, TypeScript and Reason/OCaml.
- Single-focused components
- Highly composable
- Type-safe
- Strong defaults
- Predictable APIs
- A rich set of components that can represent all your app
- Usable on Reason, JavaScript and TypeScript.
Installation
yarn add taco-ui
# or with npm
npm install --save taco-ui
Usage with Reason
When using ReScript you will need to add "taco-ui" and already have installed "reason-react" to your bs-dependencies in your bsconfig.json config
{
"bs-dependencies": [
"reason-react",
+ "taco-ui"
]
}
Usage with JavaScript
TBD