mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 19:43:29 +01:00
feat(website): add detailed property and method documentation (#8252)
Co-authored-by: Noel <buechler.noel@outlook.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { AiOutlineMenu } from 'react-icons/ai';
|
||||
import { FiMenu } from 'react-icons/fi';
|
||||
import { VscPackage } from 'react-icons/vsc';
|
||||
import { generateIcon } from '~/util/icon';
|
||||
import type { getMembers } from '~/util/parse.server';
|
||||
@@ -17,14 +17,14 @@ function onMenuClick() {
|
||||
|
||||
export function ItemSidebar({ packageName, data }: ItemListProps) {
|
||||
return (
|
||||
<div className="flex flex-col max-h-full min-w-[270px] border-r-solid border-b-solid border-gray border-width-0.5">
|
||||
<div className="flex flex-col max-h-full min-w-[270px] lg:border-r-solid border-b-solid border-gray border-width-0.5">
|
||||
<div className="flex justify-between content-center items-center border-b-solid border-gray border-width-0.5">
|
||||
<h1 className="px-2 font-mono flex items-center content-center">
|
||||
<VscPackage className="px-1" />
|
||||
{`${packageName}`}
|
||||
</h1>
|
||||
<button className="lg:hidden mr-2 bg-transparent border-none" onClick={onMenuClick}>
|
||||
<AiOutlineMenu size={32} />
|
||||
<button className="lg:hidden mr-2 bg-transparent border-none cursor-pointer" onClick={onMenuClick}>
|
||||
<FiMenu size={32} />
|
||||
</button>
|
||||
</div>
|
||||
<div className="hidden lg:block overflow-y-scroll overflow-x-clip p-7">
|
||||
|
||||
Reference in New Issue
Block a user