material-ui
material-ui copied to clipboard
[FocusTrap] Convert focus trap to typescript
| Messages | |
|---|---|
| :book: | Netlify deploy preview: https://deploy-preview-35005--material-ui.netlify.app/ |
Generated by :no_entry_sign: dangerJS against ceed9bdc16e3adc46896b73dae4b2fd6da7d0b86
Thanks for working on this. Could you please also convert the test file to TS?
As for the test_static failing, changing the JSDoc of isEnabled in FocusTrap.types.ts to:
@default function defaultIsEnabled(): boolean {
return true;
}
should help.
@michaldudak , I just finished with the test file and all the checks are passing now.
No problem, @michaldudak ... Thanks for the review. I added the suggested changes.