@awsui/components-react
Version:
AWS UI is a collection of [React](https://reactjs.org/) components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the [A
19 lines (18 loc) • 1.34 kB
JavaScript
import React from 'react';
export var AnnotationIcon = function (_a) {
var open = _a.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" },
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" },
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" })))));
}
};