Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | 3x 9x 1x 3x 3x | import React from 'react' import PropTypes from 'prop-types' import Loading from 'react-loading' function InlineSmallLoader(props) { const { size, color, style } = props; return ( <div className="inline-small-loader" style={style}> <Loading type="bubbles" color={color} width={size} height={size} /> </div>) } InlineSmallLoader.propTypes = { size: PropTypes.number, color: PropTypes.string, style: PropTypes.object }; InlineSmallLoader.defaultProps = { size: 32, color: '#888888', style: {} }; export default InlineSmallLoader |