You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
451 B
21 lines
451 B
import { ArrowLoaderProps } from './types'
|
|
import { Wrapper, Arrows } from './styled'
|
|
|
|
export const ArrowLoader = ({
|
|
backgroundColor,
|
|
backgroundSize,
|
|
className,
|
|
disabled,
|
|
width,
|
|
}: ArrowLoaderProps) => (
|
|
<Wrapper
|
|
className={className}
|
|
width={width}
|
|
backgroundColor={backgroundColor}
|
|
disabled={disabled}
|
|
>
|
|
<Arrows backgroundSize={backgroundSize} />
|
|
</Wrapper>
|
|
)
|
|
|
|
export const ArrowLoaderUI = { ArrowLoader, Arrows }
|
|
|