react-icons/ri#RiFeedbackLine TypeScript Examples
The following examples show how to use
react-icons/ri#RiFeedbackLine.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Help.tsx From Notepad with MIT License | 5 votes |
function Help() {
const [showHelp, setShowHelp] = useState(false);
return (
<div className="dropdown">
<button
className="btn"
onClick={() => setShowHelp(!showHelp)}
onBlur={() => setTimeout(() => setShowHelp(false), 150)}
>
Help
</button>
<div
className="dropdown-content"
style={{ display: showHelp ? "block" : "none" }}
>
<button className="menu-btn btn">
Send Feedback
<p>
<RiFeedbackLine />
</p>
</button>
<button className="menu-btn btn">
About Notepad
<p>
<AiOutlineInfo />
</p>
</button>
<button
className="menu-btn btn"
onClick={() =>
openLink(new URL("https://github.com/Muhammed-Rahif/Notepad"), {
newTab: true,
})
}
>
GitHub
<p>
<FaGithub />
</p>
</button>
</div>
</div>
);
}