0.4.2-develop.144 • Published 3 years ago
@centrifuge/axis-tooltip v0.4.2-develop.144
Axis
Single source of truth used to build user interfaces for Centrifuge
Develop branch
https://develop.axis.centrifuge.io
Master branch
How to use
// canary releases from develop branch
npm install @centrifuge/axis-[packageName]@canary // Ex: npm install @centrifuge/axis-theme@canary
// releases from master
npm install @centrifuge/axis-[packageName] // Ex: npm install @centrifuge/axis-theme
Development
Use node v12.16.3: nvm use
(the version is specified in .nvmrc
)
Install and link all dependencies: npm install
Build and watch all packages: npm run build-watch
In a separate terminal, run storybook to view all examples: npm start
Linking
If you want to develop tinlake-ui, then you can use linking to depend on the local version of an axis component rather than the one in the npm package library. There are a few steps for this:
- In
packages/[some_component]
, runnpm link
to link[some_component]
to your globalnode_modules
. - In the root of
axis
, runnpm link [tinlake_ui_path]/node_modules/react
, where[tinlake_ui_path]
is the path to your local tinlake-ui repo. This tells the axis components to use thereact
dependency from the tinlake-ui package, rather than the one from the axisnode_modules
folder. This prevents errors with React Hooks due to there being multiple instances ofreact
. - In your tinlake-ui repo, run
npm link @centrifuge/axis-[some_component]
.
0.4.2-develop.c4f03d8.139
3 years ago
0.4.2-develop.73e71f1.141
3 years ago
0.4.2-develop.7a59cce.142
3 years ago
0.4.2-develop.46eb94b.141
3 years ago
0.4.2-develop.68403ea.142
3 years ago
0.4.2-develop.8fe33de.143
3 years ago
0.4.2-develop.3ad09d7.144
3 years ago
0.4.2-develop.c79e643.146
3 years ago
0.4.2-develop.6d6e183.148
3 years ago
0.4.2-develop.a14b10c.151
3 years ago
0.4.2-develop.d72ecb8.151
3 years ago
0.4.2-develop.8729854.151
3 years ago
0.4.2-develop.b4fd639.151
3 years ago
0.4.2-develop.fa0a71f.151
3 years ago
0.4.2-develop.4bb6c15.148
3 years ago
0.4.2-develop.15065bc.147
4 years ago
0.4.2-develop.a1231ee.147
4 years ago
0.4.2-develop.147
4 years ago
0.4.2-develop.145
4 years ago
0.4.2-develop.144
4 years ago