feat: redesign buttons and share them in dialogs

This commit is contained in:
Aarnav Tale 2025-01-19 17:31:46 +00:00
parent b9a708b2e9
commit af248df648
No known key found for this signature in database
10 changed files with 104 additions and 87 deletions

View file

@ -1,17 +1,8 @@
import React from 'react';
import Title from '~/components/Title';
import Text from '~/components/Text';
import { cn } from '~/utils/cn';
function Text(props: React.HTMLProps<HTMLParagraphElement>) {
return (
<p {...props} className={cn('text-base leading-6 my-0', props.className)} />
);
}
type Props = React.HTMLProps<HTMLDivElement> & {
variant?: 'raised' | 'flat';
};
interface Props extends React.HTMLProps<HTMLDivElement> {
variant?: 'raised' | 'flat';
}