@qwertydevs/react-native-skeleton-view
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

react-native-skeleton-view

Animated skeleton view that extends the normal View component

Installation

with npm:

npm install @qwertydevs/react-native-skeleton-view

with yarn:

yarn add @qwertydevs/react-native-skeleton-view

Usage

import LoadingView from '@qwertydevs/react-native-skeleton-view';
const [loading, setLoading] = React.useState(true);
// ... Get data
() => setLoading(false);
<LoadingView
  loading={loading}
  style={{ width: 100, height: 100 }}
  color1="purple"
  color2="orange"
  showBorderAfterLoad={true}
>
  <Text>Inner content that takes time to load</Text>
</LoadingView>

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Package Sidebar

Install

npm i @qwertydevs/react-native-skeleton-view

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

22.7 kB

Total Files

15

Last publish

Collaborators

  • qwerty_clac