UNPKG

@elgato/icons

Version:

Icons used throughout the Elgato ecosystem.

15 lines (14 loc) 4.35 kB
import { jsx as _jsx } from "react/jsx-runtime"; import { sizeMap } from "../../metadata/sizing.js"; const IconDatabase = (props) => { const size = sizeMap[props?.size ?? "m"]; const label = props?.label ?? "Icon"; switch (props?.size) { case "l": return (_jsx("svg", { viewBox: "0 0 24 24", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, "aria-label": label, role: "img", ...props, children: _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21 7C21 6.47574 20.7681 5.95552 20.3149 5.46927C19.8626 4.98397 19.1997 4.54301 18.364 4.17157C17.5282 3.80014 16.5361 3.5055 15.4442 3.30448C14.3522 3.10346 13.1819 3 12 3C10.8181 3 9.64778 3.10346 8.55585 3.30448C7.46392 3.5055 6.47177 3.80014 5.63604 4.17157C4.8003 4.54301 4.13737 4.98397 3.68508 5.46927C3.23191 5.95552 3 6.47574 3 7V17C3 18.0573 3.94263 19.0758 5.63604 19.8284C7.32386 20.5786 9.61304 21 12 21C14.387 21 16.6761 20.5786 18.364 19.8284C20.0574 19.0758 21 18.0573 21 17V7ZM12 4.5C10.9034 4.5 9.82423 4.59619 8.82743 4.77969C7.82796 4.96369 6.95286 5.2278 6.24525 5.54229C5.52866 5.86077 5.05552 6.19891 4.78241 6.49195C4.51892 6.77466 4.5 6.94577 4.5 7C4.5 7.05423 4.51892 7.22534 4.78241 7.50805C5.05552 7.80109 5.52866 8.13923 6.24525 8.45771C6.95286 8.7722 7.82795 9.03631 8.82743 9.22031C9.82423 9.40381 10.9034 9.5 12 9.5C13.0966 9.5 14.1758 9.40381 15.1726 9.22031C16.172 9.03631 17.0471 8.7722 17.7548 8.45771C18.4713 8.13923 18.9445 7.80109 19.2176 7.50805C19.4811 7.22534 19.5 7.05423 19.5 7C19.5 6.94577 19.4811 6.77466 19.2176 6.49195C18.9445 6.19891 18.4713 5.86077 17.7548 5.54229C17.0471 5.2278 16.172 4.96369 15.1726 4.77969C14.1758 4.59619 13.0966 4.5 12 4.5ZM19.5 9.21108C19.1693 9.43264 18.789 9.63952 18.364 9.82843C17.5282 10.1999 16.5361 10.4945 15.4442 10.6955C14.3522 10.8965 13.1819 11 12 11C10.8181 11 9.64778 10.8965 8.55585 10.6955C7.46392 10.4945 6.47177 10.1999 5.63604 9.82843C5.211 9.63952 4.83067 9.43264 4.5 9.21108V12C4.5 12.1142 4.67692 12.7607 6.24525 13.4577C7.69397 14.1016 9.76411 14.5 12 14.5C14.2359 14.5 16.306 14.1016 17.7548 13.4577C19.3231 12.7607 19.5 12.1142 19.5 12V9.21108ZM19.5 14.2111C19.1712 14.4314 18.7915 14.6384 18.364 14.8284C16.6761 15.5786 14.387 16 12 16C9.61304 16 7.32386 15.5786 5.63604 14.8284C5.20847 14.6384 4.82876 14.4314 4.5 14.2111V17C4.5 17.1142 4.67692 17.7607 6.24525 18.4577C7.69397 19.1016 9.76411 19.5 12 19.5C14.2359 19.5 16.306 19.1016 17.7548 18.4577C19.3231 17.7607 19.5 17.1142 19.5 17V14.2111Z" }) })); default: return (_jsx("svg", { viewBox: "0 0 20 20", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, "aria-label": label, role: "img", ...props, children: _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10 3C13.866 3 17 4.34315 17 6V14C17 15.6569 13.866 17 10 17C6.13401 17 3 15.6569 3 14V6C3 4.34315 6.13401 3 10 3ZM16 11.5439C15.7084 11.752 15.3573 11.9466 14.9502 12.1211C13.6374 12.6837 11.8565 13 10 13C8.14348 13 6.36256 12.6837 5.0498 12.1211C4.64272 11.9466 4.29159 11.752 4 11.5439V14C4 14.076 4.03186 14.2318 4.26172 14.4648C4.49608 14.7023 4.88507 14.9625 5.44434 15.2021C6.55931 15.68 8.16926 16 10 16C11.8307 16 13.4407 15.68 14.5557 15.2021C15.1149 14.9625 15.5039 14.7023 15.7383 14.4648C15.9681 14.2318 16 14.076 16 14V11.5439ZM16 7.54395C15.7084 7.75198 15.3573 7.9466 14.9502 8.12109C13.6374 8.6837 11.8565 9 10 9C8.14348 9 6.36256 8.6837 5.0498 8.12109C4.64272 7.9466 4.29159 7.75198 4 7.54395V10C4 10.0689 4.02875 10.2222 4.25195 10.4531C4.47986 10.6889 4.86641 10.9545 5.44434 11.2021C6.60132 11.698 8.24019 12 10 12C11.7598 12 13.3987 11.698 14.5557 11.2021C15.1336 10.9545 15.5201 10.6889 15.748 10.4531C15.9712 10.2222 16 10.0689 16 10V7.54395ZM10 4C8.16926 4 6.55931 4.32003 5.44434 4.79785C4.88507 5.03754 4.49608 5.29769 4.26172 5.53516C4.03186 5.76816 4 5.92398 4 6C4 6.06895 4.02875 6.22219 4.25195 6.45312C4.47986 6.68891 4.86641 6.95447 5.44434 7.20215C6.60132 7.69797 8.24019 8 10 8C11.7598 8 13.3987 7.69797 14.5557 7.20215C15.1336 6.95447 15.5201 6.68891 15.748 6.45312C15.9712 6.22219 16 6.06895 16 6C16 5.92398 15.9681 5.76816 15.7383 5.53516C15.5039 5.29769 15.1149 5.03754 14.5557 4.79785C13.4407 4.32003 11.8307 4 10 4Z" }) })); } }; IconDatabase.iconName = "database"; export default IconDatabase;