From f814f1e0a26105662f6ea331f4c26da24614ffd2 Mon Sep 17 00:00:00 2001 From: Pavel Prichodko <14926950+prichodko@users.noreply.github.com> Date: Wed, 18 Jan 2023 16:44:39 +0100 Subject: [PATCH] add @status-im/icons dependency --- packages/components/package.json | 1 + .../src/chat-message/components/actions.tsx | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/packages/components/package.json b/packages/components/package.json index b34be96..ecb2295 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -29,6 +29,7 @@ "@tamagui/react-native-media-driver": "1.0.15", "@tamagui/shorthands": "1.0.15", "@tamagui/theme-base": "1.0.15", + "@status-im/icons": "*", "tamagui": "1.0.15" }, "devDependencies": { diff --git a/packages/components/src/chat-message/components/actions.tsx b/packages/components/src/chat-message/components/actions.tsx index eeb12bc..bc3e1d2 100644 --- a/packages/components/src/chat-message/components/actions.tsx +++ b/packages/components/src/chat-message/components/actions.tsx @@ -1,15 +1,15 @@ import { Stack } from 'tamagui' -import { Text } from '../../typography' +import { Paragraph } from '../../typography' -interface Props {} - -export const Actions = (props: Props) => { - const {} = props +interface Props { + onClick: VoidFunction +} +export const Actions = (_props: Props) => { return ( - actions + actions ) }