@react-x/activity-indicator

Cross-platform ActivityIndicator component for ReactDOM and React Native apps.


Keywords
react, react-x, cross-platform, react-dom, react-native
License
MIT
Install
npm install @react-x/activity-indicator@3.3.0

Documentation

React X

npm npm npm CircleCI Travis AppVeyor Coveralls

Cross-platform React components for ReactDOM and React Native.

Getting Started

Install react-x using yarn:

yarn add react-x

Setup

React Native

No additional setup required for react-native.

React DOM

If using Webpack, you need to add the .dom.js extension to the extensions array.

module.exports = {
  resolve: {
    extensions: ['.dom.js', '.js', '.json'],
  },
};

APIs

API Version Description
react-x-clipboard npm Clipboard module for React DOM and React Native.
react-x-keychain npm Persistent storage for React DOM (cookies) and React Native (keychain).

Components

Component Version Description
react-x-primitives npm Set of primitive components to render across targets.
react-x-render npm Conditional rendering based on if/unless conditions.
react-x-svg npm Cross-platform SVG support for ReactDOM and React Native.
react-x-switch npm Switch component for toggling on/off.

Contributing

If you have any ideas on how this module could be better, create an Issue or submit a PR.