Fix unselectable (#28763)

This commit is contained in:
Junyoung Clare Jang
2018-09-10 17:31:21 -04:00
committed by John Reilly
parent 0bf5d0cb86
commit 0125d65fd5
2 changed files with 2 additions and 1 deletions

View File

@@ -1036,7 +1036,7 @@ declare namespace React {
itemRef?: string;
results?: number;
security?: string;
unselectable?: boolean;
unselectable?: 'on' | 'off';
}
// All the WAI-ARIA 1.1 attributes from https://www.w3.org/TR/wai-aria-1.1/

View File

@@ -400,6 +400,7 @@ const htmlAttr: React.HTMLProps<HTMLElement> = {
dangerouslySetInnerHTML: {
__html: "<strong>STRONG</strong>"
},
unselectable: 'on',
'aria-atomic': false,
'aria-checked': 'true',
'aria-colcount': 7,