UNPKG

366 BTypeScriptView Raw
1import React from 'react';
2interface 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 */
13export default class ScrollWithStdin<T> extends React.Component<Props<T>> {
14 render(): JSX.Element;
15}
16export {};