UNPKG

polen

Version:

A framework for delightful GraphQL developer portals

11 lines 526 B
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { Box } from '@radix-ui/themes'; import { Items } from './SidebarItem.js'; export const Sidebar = ({ data, ...props }) => { return (_jsxs(Box, { "data-testid": 'sidebar', role: 'Sidebar', ...props, children: [_jsx("style", { children: ` div[role="Sidebar"] a:not([data-active]):hover { background-color: var(--iris-2) !important; } ` }), _jsx(Items, { items: data })] })); }; //# sourceMappingURL=Sidebar.js.map