Files
medusa-store/www/api-reference/components/Icons/TreeNode/index.tsx
Shahed Nasser f07dc0384f docs,api-ref: added search filters (#4830)
* initial implementation of search modal

* added hit and search suggestions

* added support for multiple indices

* updated sample env

* added close when click outside dropdown

* test for mobile

* added mobile design

* added shortcut

* dark mode fixes

* added search to docs

* added plugins filter

* added React import

* moved filters to configurations

* handled error on page load

* change suggestion text

* removed hits limit

* handle select all

* open link in current tab

* change highlight colors

* added support for shortcuts + auto focus

* change header and footer

* redesigned search ui
2023-08-24 18:36:06 +03:00

37 lines
771 B
TypeScript

import IconProps from "../types"
const IconTreeNode = ({ iconColorClassName, ...props }: IconProps) => {
return (
<svg
width={props.width || 16}
height={props.height || 32}
viewBox="0 0 16 32"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<rect
width="1"
height="32"
rx="0.5"
className={
iconColorClassName ||
"fill-medusa-fg-subtle dark:fill-medusa-fg-subtle-dark"
}
/>
<rect
y="15.5"
width="16"
height="1"
rx="0.5"
className={
iconColorClassName ||
"fill-medusa-fg-subtle dark:fill-medusa-fg-subtle-dark"
}
/>
</svg>
)
}
export default IconTreeNode