mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-14 04:50:05 +02:00
feat: redesign of Live Collaboration dialog (#6635)
* feat: redesiged Live Collaboration dialog * fix: address lints * fix: inactive dialog dark mode improvements * fix: follow styleguide with event parameter, add FilledButton size prop * fix: change timer to be imperative * fix: add spacing after emoji * fix: remove unused useEffect * fix: change margin into whitespace * fix: add share button check back
This commit is contained in:
@@ -27,8 +27,8 @@ export const Switch = ({
|
||||
checked={checked}
|
||||
disabled={disabled}
|
||||
onChange={() => onChange(!checked)}
|
||||
onKeyDown={(e) => {
|
||||
if (e.key === " ") {
|
||||
onKeyDown={(event) => {
|
||||
if (event.key === " ") {
|
||||
onChange(!checked);
|
||||
}
|
||||
}}
|
||||
|
Reference in New Issue
Block a user