mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-02 19:30:19 +03:00
[DOP-3497]: Refactor state
This commit is contained in:
parent
207c3a9780
commit
9c94d434b0
|
@ -53,9 +53,10 @@ const VersionSelectorComponent = ({
|
|||
const handleFocusChange = (event: React.KeyboardEvent<HTMLDivElement>) => {
|
||||
console.log(event.key);
|
||||
};
|
||||
// const handleArrowKeys = () => {};
|
||||
|
||||
return (
|
||||
<StyledWrapper ref={menuListRef}>
|
||||
<StyledWrapper ref={menuListRef} onKeyDown={event => console.log(event.currentTarget)}>
|
||||
<StyledSelectWrapper>
|
||||
<StyledLabel>Version Selector: v{active.apiVersion}</StyledLabel>
|
||||
{description && <StyledDescription>{description}</StyledDescription>}
|
||||
|
|
Loading…
Reference in New Issue
Block a user