1 | import React from 'react';
|
2 | interface Props<T> {
|
3 | active: boolean;
|
4 | values: T[];
|
5 | children: (props: T & {
|
6 | active: boolean;
|
7 | }) => React.ReactNode;
|
8 | onWillReachEnd: () => void;
|
9 | }
|
10 | /**
|
11 | * Wraps the component in stdin consumer.
|
12 | */
|
13 | export default class ScrollWithStdin<T> extends React.Component<Props<T>> {
|
14 | render(): JSX.Element;
|
15 | }
|
16 | export {};
|