* Search on submit * Should be a ul * Fix broken link * No search on change event * Add translation strings * Add role for the 0 results message * Update test with new search behavior * Make search input a controlled component Co-authored-by: Peter Bengtsson <peterbe@github.com> * Trim whitespace in search text Co-authored-by: Peter Bengtsson <peterbe@github.com> * Better variable names Co-authored-by: Peter Bengtsson <peterbe@github.com> * Update visible results count in useEffect * Control the input's value with the typed state Co-authored-by: Peter Bengtsson <peterbe@github.com> * Inline the submit handler Co-authored-by: Peter Bengtsson <peterbe@github.com> Co-authored-by: Peter Bengtsson <peterbe@github.com>
Components
⚠️ This area is a work-in-progress.
This is the main source for our React components. They can be rendered by the server or the client via Next.js. The starting point for any component usage is the pages/ directory, which uses a file-system routing paradigm to match paths to pages that then render these components.