Use react-content-loader in React Native
masterFor React Native, import from react-content-loader/native.
Important: Because React Native does not have native SVG support, you must use the named exports Rect and Circle (or other shapes) provided by react-content-loader/native to ensure compatibility.
import ContentLoader, { Rect, Circle } from 'react-content-loader/native'
const MyLoader = () => (
<ContentLoader viewBox="0 0 380 70">
<Circle cx="30" cy="30" r="30" />
<Rect x="80" y="17" rx="4" ry="4" width="300" height="13" />
<Rect x="80" y="40" rx="3" ry="3" width="250" height="10" />
</ContentLoader>
)