mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
fix: info and caution components
This commit is contained in:
@@ -3,13 +3,13 @@ import { VscWarning } from 'react-icons/vsc';
|
||||
|
||||
export function Caution({ children }: PropsWithChildren<{}>) {
|
||||
return (
|
||||
<div className="rounded border border-blue-500 p-4">
|
||||
<div className="my-4 rounded border border-red-500 p-4">
|
||||
<div className="flex flex-row place-items-center gap-4">
|
||||
<span className="text-blue-500">
|
||||
<span className="text-red-500">
|
||||
<VscWarning size={20} />
|
||||
</span>
|
||||
<div className="flex flex-col gap-2 text-sm">
|
||||
<span className="font-semibold text-blue-500">Caution</span>
|
||||
<span className="font-semibold text-red-500">Caution</span>
|
||||
{children}
|
||||
</div>
|
||||
</div>
|
||||
@@ -3,7 +3,7 @@ import { VscInfo } from 'react-icons/vsc';
|
||||
|
||||
export function Info({ children }: PropsWithChildren<{}>) {
|
||||
return (
|
||||
<div className="rounded border border-blue-500 p-4">
|
||||
<div className="my-4 rounded border border-blue-500 p-4">
|
||||
<div className="flex flex-row place-items-center gap-4">
|
||||
<span className="text-blue-500">
|
||||
<VscInfo size={20} />
|
||||
|
||||
Reference in New Issue
Block a user