Props
In addition to all the attributes that the svg
component accepts (see MDN),
Fleet Icons
accepts the following additional props
Prop | Description | Type | Default value |
---|---|---|---|
size | Allows you to set the icon size | number or string | 1em |
rotate | Allows you to rotate the icon by a certain angle | number | undefined |
spinner | Add an infinite rotation animation | boolean | undefined |
title | Accessibility title for the icon | string | undefined |
desc | Description of accessibility for the icon | string | undefined |
Live Editor
Result
SyntaxError: Unexpected token (1:8) 1 : return () ^