mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 01:53:30 +01:00
feat(theme): dark theme detection
This commit is contained in:
@@ -11,7 +11,7 @@ export interface PropertiesSectionProps {
|
||||
|
||||
export function PropertiesSection({ data }: PropertiesSectionProps) {
|
||||
return data.length ? (
|
||||
<Section title="Properties">
|
||||
<Section title="Properties" className="dark:text-white">
|
||||
<PropertyList data={data} />
|
||||
</Section>
|
||||
) : null;
|
||||
@@ -35,7 +35,7 @@ export interface ParametersSectionProps {
|
||||
|
||||
export function ParametersSection({ data }: ParametersSectionProps) {
|
||||
return data.length ? (
|
||||
<Section title="Parameters">
|
||||
<Section title="Parameters" className="dark:text-white">
|
||||
<ParameterTable data={data} />
|
||||
</Section>
|
||||
) : null;
|
||||
|
||||
Reference in New Issue
Block a user