Skip to content

Commit

Permalink
refactor(docs): dropdown dx
Browse files Browse the repository at this point in the history
  • Loading branch information
wingkwong committed Nov 17, 2024
1 parent 6059983 commit 344d5c3
Showing 1 changed file with 23 additions and 21 deletions.
44 changes: 23 additions & 21 deletions apps/docs/content/components/dropdown/custom-items-styles.raw.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,31 @@ import {
User,
} from "@nextui-org/react";

export const PlusIcon = (props) => (
<svg
aria-hidden="true"
fill="none"
focusable="false"
height="1em"
role="presentation"
viewBox="0 0 24 24"
width="1em"
{...props}
>
<g
export const PlusIcon = (props) => {
return (
<svg
aria-hidden="true"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={1.5}
focusable="false"
height="1em"
role="presentation"
viewBox="0 0 24 24"
width="1em"
{...props}
>
<path d="M6 12h12" />
<path d="M12 18V6" />
</g>
</svg>
);
<g
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={1.5}
>
<path d="M6 12h12" />
<path d="M12 18V6" />
</g>
</svg>
);
};

export default function App() {
return (
Expand Down

0 comments on commit 344d5c3

Please sign in to comment.