mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
[react-responsive] Add device prop on MediaQuery component (#40039)
* Add 'device' prop on MediaQuery component * Typo
This commit is contained in:
committed by
Nathan Shively-Sanders
parent
0f0d84477c
commit
d6a12689b1
Vendored
+1
@@ -80,6 +80,7 @@ export interface MediaQueryProps extends MediaQueryAllQueryable {
|
||||
style?: React.CSSProperties;
|
||||
className?: string;
|
||||
children?: React.ReactNode | ((matches: boolean) => React.ReactNode);
|
||||
device?: MediaQueryMatchers;
|
||||
values?: Partial<MediaQueryMatchers>;
|
||||
onBeforeChange?: (matches: boolean) => void;
|
||||
onChange?: (matches: boolean) => void;
|
||||
|
||||
Reference in New Issue
Block a user