jsx import { jsx } from '@emotion/core' ; import style from './style' ; import { BaseProps } from '../types' ; export default function BallSpinFadeLoader ( { color , loading } ) { if ( loading ) { return ( < div css = { style ( color ) } > < div /> < div / > < div /> < div / > < div /> < div / > < div /> < div / > < /div>); } return null ; }