diff --git a/types/reach__alert/index.d.ts b/types/reach__alert/index.d.ts index 1d77c752f9..9c75f4e0ff 100644 --- a/types/reach__alert/index.d.ts +++ b/types/reach__alert/index.d.ts @@ -7,7 +7,9 @@ import * as React from 'react'; export type AlertProps = { - type?: "assertive" | "polite"; + type?: 'assertive' | 'polite'; } & React.HTMLProps; -export const Alert: React.FC; +declare const Alert: React.FC; + +export default Alert; diff --git a/types/reach__alert/reach__alert-tests.tsx b/types/reach__alert/reach__alert-tests.tsx index 4b25a99808..4cdd1143bd 100644 --- a/types/reach__alert/reach__alert-tests.tsx +++ b/types/reach__alert/reach__alert-tests.tsx @@ -1,4 +1,4 @@ -import { Alert } from '@reach/alert'; +import Alert from '@reach/alert'; import * as React from "react"; import { render } from "react-dom";