UNPKG

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