Version: 3.0.0-next.40

Spinner

Migrating to v3 will provide a lot more size, color and customisation option.

Overview#

Migrating Badge components can broadly described in these points:

  • Also get 2 size options, namely sm and lg.
  • In v3 the color are provided by theme, so the shade for the color should be passed along with the color name.

Code Comparison#

<Spinner />
<Spinner color='red' />
<Spinner color='green' />
<Spinner color='blue' />