UNPKG

native-base

Version:

Essential cross-platform UI components for React Native

18 lines (15 loc) 437 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.useSpinner = useSpinner; function useSpinner(props) { var _props$accessibilityL; return { spinnerProps: { accessible: true, accessibilityLabel: (_props$accessibilityL = props.accessibilityLabel) !== null && _props$accessibilityL !== void 0 ? _props$accessibilityL : 'loading' } }; } //# sourceMappingURL=useSpinner.js.map