Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

Commit

Permalink
fix(editor): fix block actions menu button style
Browse files Browse the repository at this point in the history
fix #107
  • Loading branch information
Darmody committed Jul 8, 2022
1 parent d640229 commit c4408d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
@@ -1,4 +1,4 @@
import { DragEventHandler, FC, MouseEventHandler, useCallback, useMemo, useState, ReactNode } from 'react'
import { DragEventHandler, FC, MouseEventHandler, useCallback, useMemo, useState, ReactNode, DragEvent } from 'react'
import { Button, IconProps, Popover, styled, theme } from '@mashcard/design-system'
import { BlockActionsMenu, BlockActionsMenuProps } from '../BlockActionsMenu'
import { DragSecondary } from '../../../ui'
Expand Down Expand Up @@ -66,7 +66,7 @@ const Trigger: FC<{
setHovered(true)
}}
size="sm"
type="text">
type="unstyled">
<DragSecondary {...iconProps} />
</StyledBlockActionButton>
</div>
Expand Down
@@ -1,4 +1,4 @@
import { FC, useMemo } from 'react'
import { FC, ReactNode, useMemo } from 'react'
import { MenuProps, styled } from '@mashcard/design-system'
import { BasicActionOptionType, useBasicActionOptions } from './useBasicActionOptions'
import {
Expand Down Expand Up @@ -32,7 +32,7 @@ export interface BlockActionsProps {
buttonClassName?: string
baseId?: MenuProps['baseId']
options?: BlockActionOptions
children?: React.ReactNode
children?: ReactNode
}

const BlockActionButtonContainer = styled(BlockActionButton, {
Expand Down

0 comments on commit c4408d4

Please sign in to comment.