const BugIcon = `export const BugIcon = (props) => ( ); `; const PullRequestIcon = `export const PullRequestIcon = (props) => ( );`; const ChatIcon = `export const ChatIcon = (props) => ( );`; const PlayCircleIcon = `export const PlayCircleIcon = (props) => ( );`; const LayoutIcon = `export const LayoutIcon = (props) => ( );`; const TagIcon = `export const TagIcon = (props) => ( );`; const UsersIcon = `export const UsersIcon = (props) => ( );`; const WatchersIcon = `export const WatchersIcons = (props) => ( );`; const BookIcon = `export const BookIcon = (props) => ( );`; const ChevronRightIcon = `export const ChevronRightIcon = (props) => ( );`; const IconWrapper = `import {cn} from "@nextui-org/react"; const IconWrapper = ({children, className}) => (
{children}
);`; const ItemCounter = `const ItemCounter = ({number}) => (
{number}
);`; const App = `import {Listbox, ListboxItem} from "@nextui-org/react"; import {IconWrapper} from "./IconWrapper"; import {ItemCounter} from "./ItemCounter"; import {BugIcon} from "./BugIcon"; import {PullRequestIcon} from "./PullRequestIcon"; import {ChatIcon} from "./ChatIcon"; import {PlayCircleIcon} from "./PlayCircleIcon"; import {LayoutIcon} from "./LayoutIcon"; import {TagIcon} from "./TagIcon"; import {UsersIcon} from "./UsersIcon"; import {WatchersIcon} from "./WatchersIcon"; import {BookIcon} from "./BookIcon"; import {ChevronRightIcon} from "./ChevronRightIcon"; export default function App() { return ( alert(key)} className="p-0 gap-0 divide-y divide-default-300/50 dark:divide-default-100/80 bg-content1 max-w-[300px] overflow-visible shadow-small rounded-medium" itemClasses={{ base: "px-3 first:rounded-t-medium last:rounded-b-medium rounded-none gap-3 h-12 data-[hover=true]:bg-default-100/80", }} > } startContent={ } > Issues } startContent={ } > Pull Requests } startContent={ } > Discussions } startContent={ } > Actions } startContent={ } > Projects } startContent={ } textValue="Releases" >
Releases
@nextui-org/react@2.0.10
49 minutes ago Latest
} startContent={ } > Contributors } startContent={ } > Watchers MIT} startContent={ } > License
); }`; const react = { "/App.jsx": App, "/IconWrapper.jsx": IconWrapper, "/ItemCounter.jsx": ItemCounter, "/BugIcon.jsx": BugIcon, "/PullRequestIcon.jsx": PullRequestIcon, "/ChatIcon.jsx": ChatIcon, "/PlayCircleIcon.jsx": PlayCircleIcon, "/LayoutIcon.jsx": LayoutIcon, "/TagIcon.jsx": TagIcon, "/UsersIcon.jsx": UsersIcon, "/WatchersIcons.jsx": WatchersIcon, "/BookIcon.jsx": BookIcon, "/ChevronRightIcon.jsx": ChevronRightIcon, }; export default { ...react, };