mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Change export to default (#37558)
This commit is contained in:
parent
47bde55ff8
commit
a32cdbb4d1
6
types/reach__alert/index.d.ts
vendored
6
types/reach__alert/index.d.ts
vendored
@ -7,7 +7,9 @@
|
||||
import * as React from 'react';
|
||||
|
||||
export type AlertProps = {
|
||||
type?: "assertive" | "polite";
|
||||
type?: 'assertive' | 'polite';
|
||||
} & React.HTMLProps<HTMLDivElement>;
|
||||
|
||||
export const Alert: React.FC<AlertProps>;
|
||||
declare const Alert: React.FC<AlertProps>;
|
||||
|
||||
export default Alert;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { Alert } from '@reach/alert';
|
||||
import Alert from '@reach/alert';
|
||||
|
||||
import * as React from "react";
|
||||
import { render } from "react-dom";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user