@carbon/pictograms-react
Version:
React components for pictograms in digital and software products using the Carbon Design System
35 lines (34 loc) • 1.29 kB
JavaScript
/**
* Copyright IBM Corp. 2019, 2023
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
*/
import Icon from "../Icon.js";
import React from "react";
import { jsx, jsxs } from "react/jsx-runtime";
//#region virtual:flag/index.js
/**
* Copyright IBM Corp. 2019, 2023
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
*/
const Flag = /*#__PURE__*/ React.forwardRef(function Flag({ children, ...rest }, ref) {
return /* @__PURE__ */ jsxs(Icon, {
width: 64,
height: 64,
viewBox: "0 0 32 32",
xmlns: "http://www.w3.org/2000/svg",
fill: "currentColor",
ref,
...rest,
children: [/* @__PURE__ */ jsx("path", { d: "M4.36,31H3.64V1c0-0.199,0.161-0.36,0.36-0.36h24 c0.131,0,0.251,0.071,0.314,0.186c0.063,0.114,0.061,0.254-0.009,0.365L23.425,9l4.881,7.809c0.069,0.111,0.072,0.25,0.009,0.366 C28.251,17.289,28.131,17.36,28,17.36H4.36V31z M4.36,16.64h22.991l-4.656-7.449c-0.072-0.117-0.072-0.265,0-0.382l4.656-7.449H4.36 V16.64z" }), children]
});
});
//#endregion
export { Flag as default };