UNPKG

@awsui/components-react

Version:

On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en

21 lines 1.56 kB
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 import React from 'react'; import styles from './styles.css.js'; export const AnnotationIcon = ({ open }) => { if (open) { return (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", focusable: "false", "aria-hidden": "true", className: styles.icon }, React.createElement("g", { fill: "none", fillRule: "evenodd", transform: "translate(1 1)" }, React.createElement("circle", { cx: "7", cy: "7", r: "7", strokeWidth: "2" }), React.createElement("path", { strokeLinecap: "square", strokeWidth: "2.2", d: "M2.5,-1 L2.5,3", transform: "rotate(90 1.75 6.25)" })))); } else { return (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", focusable: "false", "aria-hidden": "true", className: styles.icon }, React.createElement("g", { fill: "none", fillRule: "evenodd", transform: "translate(1 1)" }, React.createElement("circle", { cx: "7", cy: "7", r: "7", strokeWidth: "2" }), React.createElement("g", { strokeLinecap: "square", strokeWidth: "2.2", transform: "translate(4.5 5)" }, React.createElement("path", { d: "M2.5,0 L2.5,4", transform: "rotate(90 2.5 2)" }), React.createElement("path", { d: "M2.5,0 L2.5,4" }))))); } }; //# sourceMappingURL=annotation-icon.js.map