🕵️♂️
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import decamelize from 'decamelize'; | |
| import { namedTypes } from 'ast-types'; | |
| import { possibleStandardNames } from './constants.js'; | |
| type Node = namedTypes.Property | namedTypes.ObjectProperty | namedTypes.Expression | namedTypes.SpreadElement | namedTypes.SpreadProperty | namedTypes.ObjectMethod | undefined | |
| /** | |
| * Get the React property name for a given Stencil property name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| interface NodeInfo { | |
| // xpath: string | |
| cssSelector: string | |
| tagName: string | |
| role?: string | |
| name?: string | null | |
| description?: string | |
| isDisabled?: boolean | |
| isAccessible: boolean | |
| children?: NodeInfo[] |
OlderNewer