diff --git a/components/src/components/atoms/Avatar/Avatar.tsx b/components/src/components/atoms/Avatar/Avatar.tsx index d3c0bb7b..f381fb12 100644 --- a/components/src/components/atoms/Avatar/Avatar.tsx +++ b/components/src/components/atoms/Avatar/Avatar.tsx @@ -74,7 +74,7 @@ export type Props = { size?: BoxProps['wh'] } & Omit -export const Avatar = ({ +export const Avatar: React.FC = ({ label, shape = 'circle', src, @@ -85,7 +85,7 @@ export const Avatar = ({ checked, size, ...props -}: Props) => { +}) => { const ref = React.useRef(null) const [showImage, setShowImage] = React.useState(!!src) diff --git a/components/src/components/atoms/DynamicPopover/DynamicPopover.tsx b/components/src/components/atoms/DynamicPopover/DynamicPopover.tsx index 77baf442..5096a766 100644 --- a/components/src/components/atoms/DynamicPopover/DynamicPopover.tsx +++ b/components/src/components/atoms/DynamicPopover/DynamicPopover.tsx @@ -198,7 +198,7 @@ const PopoverBox = React.forwardRef( ), ) -export const DynamicPopover = ({ +export const DynamicPopover: React.FC = ({ popover, placement = 'top', mobilePlacement = 'top', @@ -213,7 +213,7 @@ export const DynamicPopover = ({ isOpen, align = 'center', hideOverflow, -}: DynamicPopoverProps) => { +}) => { const popoverContainerRef = React.useRef() const isControlled = isOpen !== undefined diff --git a/components/src/components/atoms/Tag/Tag.tsx b/components/src/components/atoms/Tag/Tag.tsx index 8e184c80..abf85498 100644 --- a/components/src/components/atoms/Tag/Tag.tsx +++ b/components/src/components/atoms/Tag/Tag.tsx @@ -18,14 +18,14 @@ export type Props = { } & Omit & WithColorStyle -export const Tag = ({ +export const Tag: React.FC = ({ as = 'div', children, hover, size = 'small', colorStyle = 'accentSecondary', ...props -}: Props) => { +}) => { return ( ( +export const VisuallyHidden: React.FC = props => (