@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
28 lines • 2.84 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
/*
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import * as React from "react";
import { IconSize } from "../../iconTypes";
import { SVGIconContainer } from "../../svgIconContainer";
export const Locate = React.forwardRef((props, ref) => {
const isLarge = (props.size ?? IconSize.STANDARD) >= IconSize.LARGE;
const pixelGridSize = isLarge ? IconSize.LARGE : IconSize.STANDARD;
const translation = `${-1 * pixelGridSize / 0.05 / 2}`;
const style = { transformOrigin: "center" };
return (_jsx(SVGIconContainer, { iconName: "locate", ref: ref, ...props, children: _jsx("path", { d: isLarge ? "M200 240C178 240 160 222 160 200S178 160 200 160S240 178 240 200S222 240 200 240M380 220H358.6C349.6 292.2 292.2 349 220 358.2V380C220 391 211 400 200 400S180 391 180 380V358.2C107.8 349 50.4 292.2 41.4 220H20C9 220 0 211 0 200S9 180 20 180H41.4C50.4 107.8 107.8 51 180 41.8V20C180 9 189 0 200 0S220 9 220 20V41.8C292.2 51 349.6 107.6 358.6 180H380C391 180 400 189 400 200S391 220 380 220M300 180H318A119.6 119.6 0 0 0 220 81.8V100C220 111 211 120 200 120S180 111 180 100V81.8A119.6 119.6 0 0 0 82 180H100C111 180 120 189 120 200S111 220 100 220H82A119.6 119.6 0 0 0 180 318.2V300C180 289 189 280 200 280S220 289 220 300V318.2A119.6 119.6 0 0 0 318 220H300C289 220 280 211 280 200S289 180 300 180" : "M300 180H298.2A139.6 139.6 0 0 1 180 298V300C180 311 171 320 160 320S140 311 140 300V298.2A139.6 139.6 0 0 1 22 180H20C9 180 0 171 0 160S9 140 20 140H22A139.4 139.4 0 0 1 140 21.8V20C140 9 149 0 160 0S180 9 180 20V21.8A139.6 139.6 0 0 1 298 140H300C311 140 320 149 320 160S311 180 300 180M179.6 62C178.6 72 170.4 80 160 80S141.4 72 140.4 62A100.4 100.4 0 0 0 62 140.4C72 141.4 80 149.6 80 160S72 178.6 62 179.6A100.4 100.4 0 0 0 140.4 258C141.4 248 149.6 240 160 240S178.6 248 179.6 258C219 250.2 250 219 258 179.6C248 178.6 240 170.4 240 160S248 141.4 258 140.4A100.4 100.4 0 0 0 179.6 62M160 200C138 200 120 182 120 160S138 120 160 120S200 138 200 160S182 200 160 200", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }) }));
});
Locate.displayName = `Blueprint6.Icon.Locate`;
export default Locate;
//# sourceMappingURL=locate.js.map