react-use
Version:
Collection of React Hooks
17 lines (16 loc) • 363 B
TypeScript
export interface LocationSensorState {
trigger: string;
state?: any;
length?: number;
hash?: string;
host?: string;
hostname?: string;
href?: string;
origin?: string;
pathname?: string;
port?: string;
protocol?: string;
search?: string;
}
declare const _default: () => LocationSensorState;
export default _default;