$ cnpm install @ciscospark/react-ciscospark
Cisco Spark for React
The Cisco Spark for React library allows developers to easily incorporate Spark functionality into an application.
This library allows React developers to quickly and easily create a Cisco Spark experience within their apps. Here we provide basic components (e.g. buttons, text fields, icons) that reflect the styles and aesthetics of Spark, along with more complex, complete widgets, such as the Spark Space Widget.
The basic components are just presentational React https://github.com/facebook/react components, while our widgets leverage Redux https://github.com/reactjs/redux and the Spark Javascript SDK https://github.com/ciscospark/spark-js-sdk.
While many of our components are purely presentational, some have extended functionality that provide a piece of the full Cisco Spark experience. These fully self contained elements are called Widgets
and are available here:
git clone https://github.com/ciscospark/react-ciscospark.git
)npm install
from the root of the repo. You will want to run this every time you pull down any new updates.npm run build
packages/node_modules/@ciscospark/PACKAGE_NAME/dist
.stylelint
currently ignores all node_modules
directories, and will not lint our packages. Discussion: https://github.com/stylelint/stylelint/issues/2236© 2017 Cisco Systems, Inc. and/or its affiliates. All Rights Reserved.
See LICENSE for details.
Copyright 2014 - 2017 © taobao.org |