veritone-react-common
Import components by name. For example, ``` import { Avatar, Chip } from 'veritone-react-common' ```
Last updated 3 months ago by morodri89 .
Apache-2.0 · Original npm · Tarball · package.json
$ cnpm install veritone-react-common 
SYNC missed versions from official npm registry.

React components and related code

Use

Import components by name. For example,

import { Avatar, Chip } from 'veritone-react-common'

In your app, import the VeritoneSDKThemeProvider from veritone-react-common:

import {VeritoneSDKThemeProvider } from 'veritone-react-common'

then wrap your root component with <VeritoneSDKThemeProvider>. If this is not possible, the @withVeritoneSDKThemeProvider decorator is provided to wrap individual components.

Components can be customized using material-ui themes by passing a theme into the theme prop of the provider. Passed-in themes will be merged with the default Veritone theme.

A list of all components can be found in src/index.js. Usage examples of each component can be found in src/components/<component>/story.js.

Running the dev environment

yarn start: run the examples site

yarn run build:watch: watch files and produce a new dist bundle on any changes. This is convenient when developing projects that import from veritone-react-common, as they will immediately pick up the new code through their imports.

yarn run test and yarn run test:watch: run tests (:watch will autorun on file changes)

Troubleshooting

problems with storybook can usually be resolved by cding to the veritone-sdk root and running yarn install --force

License

Copyright 2019, Veritone 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.

Current Tags

  • 10.0.3-beta                                ...           beta (5 months ago)
  • 10.0.5                                ...           latest (3 months ago)

70 Versions

  • 10.0.5                                ...           3 months ago
  • 10.0.4                                ...           3 months ago
  • 10.0.3                                ...           5 months ago
  • 10.0.3-beta                                ...           5 months ago
  • 10.0.2                                ...           5 months ago
  • 10.0.1-beta                                ...           5 months ago
  • 10.0.1                                ...           5 months ago
  • 9.0.12-beta.3                                ...           5 months ago
  • 9.0.12                                ...           6 months ago
  • 9.0.11                                ...           6 months ago
  • 9.0.10                                ...           8 months ago
  • 9.0.8-beta.1                                ...           9 months ago
  • 9.0.7                                ...           9 months ago
  • 9.0.6-beta                                ...           9 months ago
  • 9.0.6                                ...           9 months ago
  • 9.0.5                                ...           10 months ago
  • 9.0.4                                ...           10 months ago
  • 8.0.10                                ...           10 months ago
  • 8.0.5                                ...           10 months ago
  • 9.0.3                                ...           10 months ago
  • 9.0.2                                ...           10 months ago
  • 9.0.1-beta.3                                ...           10 months ago
  • 9.0.1-beta.2                                ...           a year ago
  • 9.0.1                                ...           a year ago
  • 9.0.0                                ...           a year ago
  • 8.0.3                                ...           a year ago
  • 8.0.2                                ...           a year ago
  • 8.0.1                                ...           2 years ago
  • 7.7.0                                ...           2 years ago
  • 7.6.0                                ...           2 years ago
  • 7.5.0                                ...           2 years ago
  • 7.4.0                                ...           2 years ago
  • 7.3.0                                ...           2 years ago
  • 7.2.0                                ...           2 years ago
  • 7.1.0                                ...           2 years ago
  • 7.0.1                                ...           2 years ago
  • 7.0.0                                ...           2 years ago
  • 6.7.0                                ...           2 years ago
  • 6.6.0                                ...           2 years ago
  • 6.5.0                                ...           2 years ago
  • 6.4.1                                ...           2 years ago
  • 6.3.1                                ...           2 years ago
  • 6.3.0                                ...           2 years ago
  • 6.2.0                                ...           2 years ago
  • 6.1.1                                ...           2 years ago
  • 6.1.0                                ...           2 years ago
  • 6.0.1                                ...           2 years ago
  • 6.0.0                                ...           2 years ago
  • 5.3.0                                ...           2 years ago
  • 5.2.0                                ...           3 years ago
  • 5.1.0                                ...           3 years ago
  • 5.0.0                                ...           3 years ago
  • 4.5.0                                ...           3 years ago
  • 4.4.0                                ...           3 years ago
  • 4.3.1                                ...           3 years ago
  • 4.3.0                                ...           3 years ago
  • 4.2.1                                ...           3 years ago
  • 4.2.0                                ...           3 years ago
  • 4.1.0                                ...           3 years ago
  • 4.0.0                                ...           3 years ago
  • 3.0.0                                ...           3 years ago
  • 2.2.0-beta-3                                ...           3 years ago
  • 2.2.0-beta-2                                ...           3 years ago
  • 2.2.0-beta-1                                ...           3 years ago
  • 2.1.0                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Downloads
Today 0
This Week 1
This Month 2
Last Day 0
Last Week 1
Last Month 3
Dependencies (33)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |