@xti-external/frontend-kit-auth v0.4.3
Frontend Kit
Reusable components, utils for various projects @ ZebraX
Prerequisites
- Yarn v1.x.x
Install NPM Package
Run this command to install this package with its peer dependencies
yarn add @zebraxid/frontend-kit cross-fetchQuick Start
Locally
git clone https://github.com/zebraxid/frontend-kit.git
cd frontend-kit
yarn install
yarn storybookTo Do
- Modify all charts to pass tooltip and axis format as props
Contributing
There's several rules on adding new functions or new components to this modules:
a. If you're creating new function on
src/stylesorsrc/utils, please make sure that the function name is unique to prevent the error when the function is being exported.b. If you're creating new React component, don't forget to register your new component to components entrypoint on
src/components/index.jsand make sure the export name is the same as the component name to make it easier to import.
Always run
yarn buildafter finished adding the new functions or components to compile the modules. Without running this command, your new functions or components will not be exported.When creating a pull request, please review
CHANGELOG.mdand add future version. Also update version inpackage.json.After pull request is merged to
developandmasterbranch, check the latest taggit tagAdd tag following the rules MAJOR.MINOR.PATCH
git tag <tag> git push origin <tag>
10 months ago