@gechiui/components
Version:
UI components for GeChiUI.
23 lines (21 loc) • 442 B
JavaScript
import { createElement } from "@gechiui/element";
/**
* External dependencies
*/
import { View } from 'react-native';
/**
* Internal dependencies
*/
import style from './style.scss';
export default function Spinner(props) {
const {
progress = 0
} = props;
const width = progress + '%';
return createElement(View, {
style: [style.spinner, {
width
}, props.style]
});
}
//# sourceMappingURL=index.native.js.map