-
Notifications
You must be signed in to change notification settings - Fork 43
docs(icons): enhance icon picker documentation and add search component #283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for homarr-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
src/components/IconSearch.tsx
Outdated
<input | ||
type="text" | ||
value={searchTerm} | ||
onChange={(e) => setSearchTerm(e.target.value)} | ||
placeholder="Search for icons on dashboardicons.com..." | ||
className="w-full px-4 py-2 text-gray-700 bg-white border rounded-lg focus:outline-none focus:border-blue-500" | ||
/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/components/IconSearch.tsx
Outdated
<input | ||
type="text" | ||
value={searchTerm} | ||
onChange={(e) => setSearchTerm(e.target.value)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
onChange={(e) => setSearchTerm(e.target.value)} | |
onChange={(event) => setSearchTerm(event.target.value)} |
src/components/IconSearch.tsx
Outdated
export const IconSearch = () => { | ||
const [searchTerm, setSearchTerm] = useState(''); | ||
|
||
const handleSubmit = (e: React.FormEvent) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const handleSubmit = (e: React.FormEvent) => { | |
const handleSubmit = (event: React.FormEvent) => { |
(it's for backlinks)