@treely/forest-management
v3.0.0
Published
@treely/forest-management is a open source library maintained by Tree.ly.
Downloads
233
Keywords
Readme
🌲 Tree.ly forest management components
The @treely/forest-management
module contains components that are used to
calculate key parameters for the management of forests.
Usage
This module is intended to be used in a Next.js project and should support all versions of Next.js that are newer than 11.0.0.
It is necessary to wrap the components in the ForestManagementProvider
component.
Projects that need to support the german language can set the locale
prop to de
.
If you are also using @chakra-ui/react
or boemly
, make sure to have ChakraProvider
or BoemlyThemeProvider
as a child of ForestManagementProvider
.
<ForestManagementProvider locale={"en" || "de"}>
<Forestry config={...}>
</ForestManagementProvider>
Docs
Find the documentation here.
Development
Install dependencies
npm install
Run storybook
npm run storybook
Run tests
npm test
Run linter
npm run lint