feat: primitives (Wordmark, Container, CTA) with tests
This commit is contained in:
1 parent
48a37395aa
commit
7d12e35600
9 files changed
+98
-2
No files matched your search
@@ -0,0 +1,5 @@
|
||||
import type { ElementType, ReactNode } from 'react';
|
||||
|
||||
export function Container({ as: Tag = 'div', className = '', children }: { as?: ElementType; className?: string; children: ReactNode }) {
|
||||
return <Tag className={`mx-auto w-full max-w-content px-6 md:px-12 ${className}`}>{children}</Tag>;
|
||||
}
|
||||
Reference in new issue
Block a user