website refactor
This commit is contained in:
20
apps/website/ui/OnboardingStepPanel.tsx
Normal file
20
apps/website/ui/OnboardingStepPanel.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import { Surface } from '@/ui/Surface';
|
||||
|
||||
interface OnboardingStepPanelProps {
|
||||
children: React.ReactNode;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
export function OnboardingStepPanel({ children, className = '' }: OnboardingStepPanelProps) {
|
||||
return (
|
||||
<Surface
|
||||
variant="dark"
|
||||
rounded="xl"
|
||||
border
|
||||
padding={6}
|
||||
className={`border-charcoal-outline ${className}`}
|
||||
>
|
||||
{children}
|
||||
</Surface>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user