import React from 'react'; import { defaultProps, SpinnerProps } from './helpers'; import { SpinnersProps, withSharedProps } from './withSharedProps'; import './SpinnerRoundFilled.css'; const animations = [ { r: 4 }, { name: 'spinners-react-round-filled-inner', r: 12.66, }, { name: 'spinners-react-round-filled-center', r: 20.32, }, { name: 'spinners-react-round-filled-outer', r: 27.5, }, ]; export type SpinnerRoundFilledProps = SpinnersProps & SpinnerProps; function Component({ speed = defaultProps.speed, still = defaultProps.still, thickness = defaultProps.thickness, ...svgProps }: SpinnerProps) { return ( {animations.map((animation) => ( ))} ); } export const SpinnerRoundFilled = withSharedProps(Component);