Switch default buttonType to secondary

This commit is contained in:
Max Leiter 2023-01-07 15:14:56 -08:00
parent c51ca39fa7
commit 6148f8d1e9
4 changed files with 7 additions and 8 deletions

View file

@ -83,6 +83,7 @@ const FormattingIcons = ({
iconRight={icon}
onMouseDown={(e) => e.preventDefault()}
onClick={action}
buttonType="secondary"
/>
</Tooltip>
))}

View file

@ -24,9 +24,6 @@ const Document = ({
defaultTab = "edit",
handleOnContentChange
}: Props) => {
// const height = editable ? "500px" : '100%'
const height = "100%"
const onTitleChange = useCallback(
(event: ChangeEvent<HTMLInputElement>) =>
setTitle ? setTitle(event.target.value) : null,

View file

@ -27,7 +27,7 @@ const Button = forwardRef<HTMLButtonElement, Props>(
children,
onClick,
className,
buttonType = "primary",
buttonType = "secondary",
disabled = false,
iconRight,
iconLeft,

View file

@ -5,17 +5,18 @@ import Skeleton from "@components/skeleton"
export const ListItemSkeleton = () => (
<li>
<Card style={{ overflowY: "scroll" }}>
<>
<div style={{display: 'flex', gap: 16}}>
<div className={styles.title}>
{/* title */}
<Skeleton width={80} height={32} />
</div>
<div className={styles.badges}>
<Skeleton width={30} height={32} />
<Skeleton width={60} height={32} />
<Skeleton width={60} height={32} />
<Skeleton width={60} height={32} />
</div>
</>
<hr />
</div>
<Skeleton width={100} height={32} />
</Card>
</li>