When the size prop on the loading indicator is set to icon, it should always show the circular variant and never the linear variant (this is the case in the Figma designs).
🪜 How to reproduce
Go to the story for the icon loading indicator and change the type in the DevTools to linear.
See that it tries to render a very small linear loading indicator e.g.:
🧐 Expected behaviour
As defined on Figma, the loading indicator should always display the circular variant when it is set to its icon size.
Additional info
It is probably worth adding a note to the description for the size prop to say that setting it to icon will always display the circular indicator.
Summary of the bug
When the
size
prop on the loading indicator is set toicon
, it should always show the circular variant and never the linear variant (this is the case in the Figma designs).🪜 How to reproduce
type
in the DevTools tolinear
.🧐 Expected behaviour
As defined on Figma, the loading indicator should always display the circular variant when it is set to its icon size.
Additional info
It is probably worth adding a note to the description for the
size
prop to say that setting it toicon
will always display the circular indicator.