Core components
Bunch of components to bootstrap application.
Features
- Provide internationalization (with react-i18n)
- basic theme for styled-components, add variables to theme
- setup ant design framework
Usage
<DSProvider locale="pl-PL" timeZone="Europe/Warsaw" messages={...} dataFormatConfig={...} />
...
</DSProvider>
API
Property | Description | Type | Default |
---|
locale | Current lang (ex. en-US) | string | en |
timeZone | Current timezone (ex. Europe/Warsaw) | string | |
messages | Object with translations | object | |
defaultMessages | Object with fallback translations | object | |
dataFormatConfig | Object with data (dates/numbers) notations | DataFormatConfig | EU notation |