Преглед изворни кода

feat(types): export AriaAttributes type (#8909)

Mehmet пре 2 година
родитељ
комит
fd0b6ba016
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/runtime-dom/src/jsx.ts

+ 1 - 1
packages/runtime-dom/src/jsx.ts

@@ -46,7 +46,7 @@ type Booleanish = boolean | 'true' | 'false'
 type Numberish = number | string
 
 // All the WAI-ARIA 1.1 attributes from https://www.w3.org/TR/wai-aria-1.1/
-interface AriaAttributes {
+export interface AriaAttributes {
   /** Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. */
   'aria-activedescendant'?: string
   /** Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute. */