UNPKG

react-klasha

Version:

This is an reactJS library for implementing klasha payment gateway

14 lines (10 loc) 317 B
import { getRole } from '../commons/aria'; import standards from '../standards'; function nestedInteractiveMatches(node, virtualNode) { const role = getRole(virtualNode); if (!role) { return false; } return !!standards.ariaRoles[role].childrenPresentational; } export default nestedInteractiveMatches;