1 | import * as React from 'react';
|
2 | import { StateChangeOptions } from '../';
|
3 | declare type Item = string;
|
4 | interface Props {
|
5 | }
|
6 | interface State {
|
7 | items: Array<Item>;
|
8 | }
|
9 | export 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 | }
|
15 | export {};
|