Move request to another workspace (#52)

This commit is contained in:
Gregory Schier
2024-06-21 09:01:18 -07:00
committed by GitHub
parent bc35195ca8
commit 3b784378bf
19 changed files with 253 additions and 77 deletions

View File

@@ -6,6 +6,7 @@ import { useKey } from 'react-use';
import type { IconProps } from './Icon';
import { Icon } from './Icon';
import { IconButton } from './IconButton';
import { VStack } from './Stacks';
export interface ToastProps {
children: ReactNode;
@@ -63,7 +64,7 @@ export function Toast({
'text-fg',
)}
>
<div className="px-3 py-2 flex items-center gap-2">
<div className="px-3 py-3 flex items-center gap-2">
{variant != null && (
<Icon
icon={ICONS[variant]}
@@ -75,10 +76,10 @@ export function Toast({
)}
/>
)}
<div className="flex flex-col gap-1 w-full">
<VStack space={2}>
<div>{children}</div>
{action}
</div>
</VStack>
</div>
<IconButton