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,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';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue