UNPKG

@kirz/react-native-toolkit

Version:

Toolkit to speed up React Native development

19 lines 737 B
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } import React from 'react'; import { View } from './View'; export function CircleView(_ref) { let { radius, color, ...props } = _ref; return /*#__PURE__*/React.createElement(View, _extends({}, props, { style: [{ width: radius, height: radius, borderRadius: 100, backgroundColor: color }, props.style] })); } //# sourceMappingURL=CircleView.js.map