Terra Package | Version | Status |
---|---|---|
terra-clinical-action-header | ||
terra-clinical-app-delegate | ||
terra-clinical-application | ||
terra-clinical-detail-view | ||
terra-clinical-error-view | ||
terra-clinical-header | ||
terra-clinical-item-collection | ||
terra-clinical-item-display | ||
terra-clinical-item-view | ||
terra-clinical-label-value-view | ||
terra-clinical-modal-manager | ||
terra-clinical-no-data-view | ||
terra-clinical-site | ||
terra-clinical-slide-group |
Browser | Version |
---|---|
Chrome & Chrome for Android | Current |
Edge | Current |
Firefox | Current |
Internet Explorer | 10 & 11 |
Safari & Mobile Safari | Current |
- Please follow Base Getting Started to install
Base
, and consume it withlocale
props. - Install and config
terra-i18n-plugin
:- Follow terra-i18n-plugin Getting Started to install
terra-i18n-plugin
to aggregate translations innode_modules
. - Follow terra-i18n-plugin Wiki Guide to config i18n plugin.
- Follow terra-i18n-plugin Getting Started to install
- Install and config
react-intl
- Install it
npm install --save react-intl
. - Add alias webpack config to avoid importing duplicate
react-intl
.resolve: { extensions: ['.js', '.jsx'], alias: { 'react-intl': path.resolve(__dirname, 'node_modules/react-intl'), }, },
- Install it
- Provide values for
locale
andcustomMessages
prop ofBase
. - Follow react-intl wiki to use
injectIntl
(pass translations to props) orFormattedMessage
(render translations) to consume translations.
Please read through our contributing guidelines. Included are directions for issue reporting and pull requests.
- Install docker https://www.docker.com/ to run browser tests.
- Install dependencies and run tests.
npm install
npm run test
Copyright 2017 Cerner Innovation, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.