@1771technologies/lytenyte-pro
Version:
Blazingly fast headless React data grid with 100s of features.
12 lines (11 loc) • 379 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
export function annotationBorder(options) {
const color = options?.color ?? "#3b82f6";
const width = options?.width ?? 2;
return () => (_jsx("div", { style: {
position: "absolute",
inset: 0,
boxSizing: "border-box",
border: `${width}px solid ${color}`,
} }));
}