UNPKG

onecart-ui

Version:

OneCart UI: Cross-platform design tokens + React & React Native components

11 lines (10 loc) 2.25 kB
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const LocalFireDepartment = ({ size = 'md', color = 'currentColor', style, }) => { const sizeMap = { xs: 16, sm: 20, md: 24, lg: 32, xl: 40 }; const iconSize = typeof size === 'number' ? size : sizeMap[size]; return (React.createElement(Svg, { width: iconSize, height: iconSize, viewBox: "0 0 24 24", fill: "none", style: style }, React.createElement(Path, { d: "M16.737 4.105L16.274 4.684C15.832 5.232 15.242 5.474 14.653 5.474C13.579 5.474 12.526 4.653 12.526 3.368V2.000C10.421 2.000 2.000 6.211 2.000 13.579C2.000 18.232 5.768 22.000 10.421 22.000C15.074 22.000 18.842 18.232 18.842 13.579C18.842 10.463 17.147 7.663 14.632 6.211ZM10.421 19.895C9.263 19.895 8.316 18.979 8.316 17.853C8.316 17.316 8.526 16.811 8.926 16.421L10.421 14.947L11.926 16.421C12.316 16.811 12.526 17.316 12.526 17.853C12.526 18.979 11.579 19.895 10.421 19.895ZM14.589 18.316C14.632 17.937 14.821 16.326 13.400 14.926L10.421 12.000L7.442 14.926C6.011 16.337 6.211 17.958 6.253 18.316C4.937 17.158 4.105 15.463 4.105 13.579C4.105 10.253 6.347 7.632 8.347 5.947C8.589 8.042 10.379 9.684 12.547 9.684C13.368 9.684 14.168 9.442 14.842 8.989C16.042 10.189 16.737 11.842 16.737 13.579C16.737 15.463 15.905 17.158 14.589 18.316Z", fill: color }), React.createElement(Path, { d: "M2.698 20.778L2.621 20.874C2.548 20.965 2.450 21.005 2.353 21.005C2.175 21.005 2.000 20.869 2.000 20.656V18.684C3.396 18.684 2.000 19.382 2.000 20.604C2.000 21.375 2.625 22.000 3.396 22.000C4.168 22.000 4.792 21.375 4.792 20.604C4.792 20.087 4.511 19.623 4.094 19.382ZM3.396 21.651C3.204 21.651 3.047 21.499 3.047 21.312C3.047 21.223 3.082 21.140 3.148 21.075L3.396 20.831L3.646 21.075C3.710 21.140 3.745 21.223 3.745 21.312C3.745 21.499 3.588 21.651 3.396 21.651ZM4.087 21.389C4.094 21.326 4.126 21.059 3.890 20.827L3.396 20.342L2.902 20.827C2.665 21.061 2.698 21.330 2.705 21.389C2.487 21.197 2.349 20.916 2.349 20.604C2.349 20.052 2.721 19.618 3.052 19.339C3.092 19.686 3.389 19.958 3.749 19.958C3.885 19.958 4.017 19.918 4.129 19.843C4.328 20.042 4.443 20.316 4.443 20.604C4.443 20.916 4.305 21.197 4.087 21.389Z", fill: color }))); }; LocalFireDepartment.displayName = 'LocalFireDepartment';