interface SpinnerProps {
large?: boolean;
+ className?: string;
}
export class Spinner extends Component<SpinnerProps, any> {
return (
<Icon
icon="spinner"
- classes={`spin ${this.props.large && "spinner-large"}`}
+ classes={classNames("spin", this.props.className, {
+ "spinner-large": this.props.large,
+ })}
/>
);
}