react-plot
Version:
Library of React components to render SVG 2D plots.
9 lines • 327 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
/**
* Like <rect>, but transparent by default
*/
export default function TransparentRect(props) {
const { style } = props;
return (_jsx("rect", { ...props, style: { fillOpacity: style?.fill ? undefined : 0, ...style } }));
}
//# sourceMappingURL=TransparentRect.js.map