UNPKG

403 BTypeScriptView Raw
1import * as React from 'react';
2import { StateChangeOptions } from '../';
3declare type Item = string;
4interface Props {
5}
6interface State {
7 items: Array<Item>;
8}
9export default class App extends React.Component<Props, State> {
10 state: State;
11 onChange: (selectedItem: Item | null) => void;
12 onUserAction: (changes: StateChangeOptions<Item>) => void;
13 render(): JSX.Element;
14}
15export {};