This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This doesn't have everything but it gives an idea of how the interfaces and decorator should be used. | |
interface LoginFormData { | |
username?: string; | |
password?: string; | |
} | |
interface LoginFormProps extends FormProps<LoginFormData, AppState> { | |
dispatch?: Dispatch<AppState>, | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
function _symfony_complete { | |
local CMDLINE_CONTENTS="$COMP_LINE" | |
local CMDLINE_CURSOR_INDEX="$COMP_POINT" | |
local CMDLINE_WORDBREAKS="$COMP_WORDBREAKS"; | |
export CMDLINE_CONTENTS CMDLINE_CURSOR_INDEX CMDLINE_WORDBREAKS | |
local RESULT STATUS; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import { FormattedMessage } from 'react-intl'; | |
import { AutoComplete as MuiAutoComplete } from 'material-ui'; | |
class AutoComplete extends MuiAutoComplete { | |
/** | |
* Added callback param | |
*/ | |
close(cb?: () => any) { |
OlderNewer