@synerise/ds-core
TypeScript icon, indicating that this package has built-in type declarations

0.40.15 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @synerise/ds-core

Weekly Downloads

150

Version

0.40.15

License

ISC

Unpacked Size

152 kB

Total Files

42

Last publish

Collaborators

  • synerise