From 8b932abe6d8c3224762d3e920d90f10da4da8915 Mon Sep 17 00:00:00 2001 From: Binu42 Date: Sat, 10 Oct 2020 15:51:54 +0530 Subject: [PATCH] import it from react in the beginning only --- src/lib/index.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/lib/index.tsx b/src/lib/index.tsx index 5313063..48ad55e 100644 --- a/src/lib/index.tsx +++ b/src/lib/index.tsx @@ -1,4 +1,4 @@ -import React, { MouseEvent } from "react"; +import React, { MouseEvent, CSSProperties, ReactNode, useState, useEffect } from "react"; const copyToClipboard = (str: string) => { const el = document.createElement("textarea"); // Create a