mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +01:00
refactor(website): adjust typography (#8503)
This commit is contained in:
@@ -19,13 +19,13 @@ function getShorthandName(data: MethodResolvable) {
|
||||
|
||||
export function MethodItem({ data }: { data: MethodResolvable }) {
|
||||
return (
|
||||
<Stack>
|
||||
<Stack spacing="xs">
|
||||
<Group>
|
||||
<Stack>
|
||||
<Group>
|
||||
<Title order={5} className="font-mono break-all">{`${getShorthandName(data)}`}</Title>
|
||||
<Title order={5}>:</Title>
|
||||
<Title order={5} className="font-mono break-all">
|
||||
<Title order={4} className="font-mono break-all">{`${getShorthandName(data)}`}</Title>
|
||||
<Title order={4}>:</Title>
|
||||
<Title order={4} className="font-mono break-all">
|
||||
<HyperlinkedText tokens={data.returnTypeTokens} />
|
||||
</Title>
|
||||
</Group>
|
||||
|
||||
Reference in New Issue
Block a user