@fto-consult/expo-ui
Version:
Bibliothèque de composants UI Expo,react-native
22 lines (20 loc) • 914 B
JavaScript
import React from 'react'
import ContentLoader from './Loader';
import Rect from "./Rect";
const PieChart = props => {
return (
<ContentLoader viewBox="0 0 400 200" height={200} width={400} {...props}>
<Rect x="100" y="5" rx="0" ry="0" width="200" height="15" />
<circle cx="140" cy="110" r="70" />
<Rect x="230" y="50" rx="0" ry="0" width="7" height="7" />
<Rect x="250" y="50" rx="0" ry="0" width="30" height="7" />
<Rect x="230" y="64" rx="0" ry="0" width="7" height="7" />
<Rect x="250" y="64" rx="0" ry="0" width="30" height="7" />
<Rect x="230" y="78" rx="0" ry="0" width="7" height="7" />
<Rect x="250" y="78" rx="0" ry="0" width="30" height="7" />
<Rect x="230" y="92" rx="0" ry="0" width="7" height="7" />
<Rect x="250" y="92" rx="0" ry="0" width="30" height="7" />
</ContentLoader>
)
}
export default PieChart