// Type definitions for react-toolbox 1.0.2 // Project: https://github.com/react-toolbox/react-toolbox // Definitions by: Per Bergqwist // __ReactToolbox declare namespace __ReactToolbox { import React = __React; interface Props { className?: string; key?: string | number; onClick?: React.MouseEventHandler; style?: React.CSSProperties; } /** * */ interface AppBarThemeProps { appBar?: string; fixed?: string; flat?: string; } interface AppBarProps extends Props { children?: React.ReactNode; fixed?: boolean; flat?: boolean; theme?: AppBarThemeProps; } export class AppBar extends React.Component { } /** * */ interface AutocompleteThemeProps { active?: string; autocomplete?: string; focus?: string; input?: string; label?: string; suggestion?: string; suggestions?: string; up?: string; value?: string; values?: string; } interface AutocompleteProps extends Props { direction?: "auto" | "up" | "down"; disabled?: boolean; error?: string; label?: string; multiple?: boolean; onChange?: React.FormEventHandler; selectedPosition?: "above" | "below"; showSuggestionsWHenValueIsSet?: boolean; source?: any; suggestionMatch?: "start" | "anywhere" | "word"; style?: React.CSSProperties; theme?: AutocompleteThemeProps; value?: any; } export class Autocomplete extends React.Component { } /** * */ interface AvatarThemeProps { avatar?: string; image?: string; letter?: string; } interface AvatarProps extends Props { children?: React.ReactNode; cover?: boolean; icon?: React.ReactNode | string; image?: React.ReactNode | string; theme?: AvatarThemeProps; title?: string; } export class Avatar extends React.Component { } // Button namespace Button { /** *