replace image icon with radix icon (#843)
This commit is contained in:
parent
5ba8fe6dd7
commit
59cdc8386c
3 changed files with 2 additions and 23 deletions
|
@ -1,21 +0,0 @@
|
|||
import * as React from 'react'
|
||||
|
||||
export function ImageIcon() {
|
||||
return (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width={24}
|
||||
height={24}
|
||||
fill="none"
|
||||
viewBox="0 0 24 24"
|
||||
stroke="currentColor"
|
||||
strokeWidth="2"
|
||||
>
|
||||
<path
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
d="M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"
|
||||
/>
|
||||
</svg>
|
||||
)
|
||||
}
|
|
@ -16,4 +16,3 @@ export * from './MultiplayerIcon'
|
|||
export * from './DiscordIcon'
|
||||
export * from './LineIcon'
|
||||
export * from './QuestionMarkIcon'
|
||||
export * from './ImageIcon'
|
||||
|
|
|
@ -3,6 +3,7 @@ import { useIntl } from 'react-intl'
|
|||
import {
|
||||
ArrowTopRightIcon,
|
||||
CursorArrowIcon,
|
||||
ImageIcon,
|
||||
Pencil1Icon,
|
||||
Pencil2Icon,
|
||||
TextIcon,
|
||||
|
@ -12,7 +13,7 @@ import { useTldrawApp } from '~hooks'
|
|||
import { ToolButtonWithTooltip } from '~components/Primitives/ToolButton'
|
||||
import { Panel } from '~components/Primitives/Panel'
|
||||
import { ShapesMenu } from './ShapesMenu'
|
||||
import { EraserIcon, ImageIcon } from '~components/Primitives/icons'
|
||||
import { EraserIcon } from '~components/Primitives/icons'
|
||||
|
||||
const activeToolSelector = (s: TDSnapshot) => s.appState.activeTool
|
||||
const toolLockedSelector = (s: TDSnapshot) => s.appState.isToolLocked
|
||||
|
|
Loading…
Reference in a new issue