Completely updated React, fixed #11, (hopefully)

This commit is contained in:
2018-03-04 19:11:49 -05:00
parent 6e0afd6e2a
commit 34e5f5139a
13674 changed files with 333464 additions and 473223 deletions

View File

@@ -1,15 +1,14 @@
import * as React from 'react';
import { StandardProps } from '..';
export interface ChipProps extends StandardProps<
React.HTMLAttributes<HTMLDivElement>,
ChipClassKey
> {
export interface ChipProps
extends StandardProps<React.HTMLAttributes<HTMLDivElement>, ChipClassKey> {
avatar?: React.ReactElement<any>;
label?: React.ReactNode;
onKeyDown?: React.EventHandler<React.KeyboardEvent<any>>;
onRequestDelete?: React.EventHandler<any>;
component?: React.ReactType<ChipProps>;
deleteIcon?: React.ReactElement<any>;
label?: React.ReactNode;
onDelete?: React.EventHandler<any>;
onKeyDown?: React.EventHandler<React.KeyboardEvent<any>>;
}
export type ChipClassKey =
@@ -19,8 +18,7 @@ export type ChipClassKey =
| 'avatar'
| 'avatarChildren'
| 'label'
| 'deleteIcon'
;
| 'deleteIcon';
declare const Chip: React.ComponentType<ChipProps>;