Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
private shouldWrapFocus(
element: HTMLElement,
noWrapDataAttribute: 'data-no-vertical-wrap' | 'data-no-horizontal-wrap',
): boolean {
return !!this.props.checkForNoWrap ? shouldWrapFocus(element, noWrapDataAttribute) : true
}
}