reakit
Version:
Toolkit for building accessible rich web apps with React
32 lines (31 loc) • 679 B
text/typescript
// Automatically generated
const DIALOG_STATE_KEYS = [
"baseId",
"unstable_idCountRef",
"visible",
"animated",
"animating",
"setBaseId",
"show",
"hide",
"toggle",
"setVisible",
"setAnimated",
"stopAnimation",
"modal",
"unstable_disclosureRef",
"setModal",
] as const;
export const DIALOG_KEYS = [
...DIALOG_STATE_KEYS,
"hideOnEsc",
"hideOnClickOutside",
"preventBodyScroll",
"unstable_initialFocusRef",
"unstable_finalFocusRef",
"unstable_orphan",
"unstable_autoFocusOnShow",
"unstable_autoFocusOnHide",
] as const;
export const DIALOG_BACKDROP_KEYS = DIALOG_STATE_KEYS;
export const DIALOG_DISCLOSURE_KEYS = DIALOG_BACKDROP_KEYS;