mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-20 03:20:24 +00:00
17e9e30454
This introduces a new `StatusIcon` component to the component library, including various icon assets. The component can be used to render icons in different colors and rotations. It's also one of the atomic components that can be used to build other more complex components like icon buttons. Usage: ``` StatusIcon { icon: "arrow-right" // name of asset file in `ui/shared/status/assets/img/icons width: 24 // default: 24 height 24 // default: 24 color: "red" // default: asset file color rotation: 0 // default: 0 } ``` Closes #2330
4 lines
538 B
XML
4 lines
538 B
XML
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M14.5332 5.46967C14.2403 5.17678 13.7654 5.17678 13.4725 5.46967L7.82608 11.1161C7.33792 11.6043 7.33792 12.3957 7.82608 12.8839L13.4725 18.5303C13.7654 18.8232 14.2403 18.8232 14.5332 18.5303C14.8261 18.2374 14.8261 17.7626 14.5332 17.4697L9.41707 12.3536C9.22181 12.1583 9.22181 11.8417 9.41707 11.6464L14.5332 6.53033C14.8261 6.23744 14.8261 5.76256 14.5332 5.46967Z" fill="black"/>
|
|
</svg>
|