feat: redesign buttons and share them in dialogs
This commit is contained in:
parent
b9a708b2e9
commit
af248df648
10 changed files with 104 additions and 87 deletions
|
|
@ -1,12 +1,14 @@
|
|||
import React from 'react';
|
||||
import { cn } from '~/utils/cn';
|
||||
|
||||
export interface TitleProps {
|
||||
children: React.ReactNode;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
export default function Title({ children }: TitleProps) {
|
||||
export default function Title({ children, className }: TitleProps) {
|
||||
return (
|
||||
<h3 className="text-2xl font-bold mb-6">
|
||||
<h3 className={cn('text-2xl font-bold mb-6', className)}>
|
||||
{children}
|
||||
</h3>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue