Skip to content

Commit

Permalink
fix(win95): ts expect error description
Browse files Browse the repository at this point in the history
  • Loading branch information
alicanerdurmaz committed May 9, 2024
1 parent b05c124 commit 046b8da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/win95/src/components/tooltip/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const Popover = ({ children, ...props }: PropsWithChildren<Props>) => {
<Tooltip
{...props}
style={{ color: "black" }}
// @ts-expect-error react95 types are incorrect. <Tooltip />ReactNode but types are expecting a string
// @ts-expect-error react95 types are incorrect. <Tooltip /> works with ReactNode but types are expecting a string
text={props.content}
>
{children}
Expand Down

0 comments on commit 046b8da

Please sign in to comment.