From 47c1d25415f3284a2b1b101a141a1cc49c466783 Mon Sep 17 00:00:00 2001 From: dylsteck Date: Fri, 16 Aug 2024 20:00:14 -0400 Subject: [PATCH 1/3] wip: editing styling to match new designs for `NeynarFrameCard` --- package.json | 2 +- .../atoms/icons/ExternalLinkIcon.tsx | 35 +------- src/components/atoms/icons/LightningIcon.tsx | 7 ++ src/components/molecules/FrameCard.tsx | 88 +++++++++++-------- .../organisms/NeynarFrameCard/index.tsx | 3 +- .../stories/NeynarFrameCard.stories.tsx | 8 +- 6 files changed, 70 insertions(+), 73 deletions(-) create mode 100644 src/components/atoms/icons/LightningIcon.tsx diff --git a/package.json b/package.json index 8e07dfa..875941f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@neynar/react", - "version": "0.8.2", + "version": "0.8.3", "description": "Farcaster frontend component library powered by Neynar", "main": "dist/bundle.cjs.js", "module": "dist/bundle.es.js", diff --git a/src/components/atoms/icons/ExternalLinkIcon.tsx b/src/components/atoms/icons/ExternalLinkIcon.tsx index c1921bd..7fa2248 100644 --- a/src/components/atoms/icons/ExternalLinkIcon.tsx +++ b/src/components/atoms/icons/ExternalLinkIcon.tsx @@ -1,37 +1,10 @@ import React from 'react'; -interface ExternalLinkIconProps { - width?: number; - height?: number; - className?: string; - style?: React.CSSProperties; -} - -const ExternalLinkIcon: React.FC = ({ - width = 12, - height = 12, - className = 'ml-1 text-faint', - style = {}, -}) => { +const ExternalLinkIcon = () => { return ( -