react-intl#IntlShape JavaScript Examples

The following examples show how to use react-intl#IntlShape. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Question.js    From Edlib with GNU General Public License v3.0 6 votes vote down vote up
Question.propTypes = {
    onChange: PropTypes.func,
    question: PropTypes.string,
    placeholder: PropTypes.string,
    image: PropTypes.object,
    useImage: PropTypes.bool,
    maxRows: PropTypes.number,
    multiline: PropTypes.bool,
    intl: intlShape,
    richText: PropTypes.bool,
};
Example #2
Source File: index.js    From bank-client with MIT License 5 votes vote down vote up
Recipient.propTypes = {
  intl: intlShape.isRequired,
  onValidateFields: PropTypes.func.isRequired,
};
Example #3
Source File: index.js    From awsboilerplate with MIT License 5 votes vote down vote up
ToggleOption.propTypes = {
  value: PropTypes.string.isRequired,
  message: PropTypes.object,
  intl: intlShape.isRequired,
};
Example #4
Source File: PidProcessDenom.js    From Nemesis with GNU General Public License v3.0 5 votes vote down vote up
PidProcessDenom.propTypes = {
  intl: intlShape.isRequired
};
Example #5
Source File: Savebox.js    From Edlib with GNU General Public License v3.0 5 votes vote down vote up
SaveBox.propTypes = {
    onSave: PropTypes.func,
    onSaveCallback: PropTypes.func,
    intl: intlShape,
    pulseUrl: PropTypes.string,
};
Example #6
Source File: index.js    From bank-client with MIT License 5 votes vote down vote up
PinCode.propTypes = {
  intl: intlShape.isRequired,
  onValidateFields: PropTypes.func.isRequired,
};
Example #7
Source File: context.jsx    From covid19-testing with Apache License 2.0 5 votes vote down vote up
IntlContext = React.createContext<IntlShape>(defaultContextValue)
Example #8
Source File: index.js    From bank-client with MIT License 5 votes vote down vote up
Password2.propTypes = {
  intl: intlShape.isRequired,
  onValidateFields: PropTypes.func.isRequired,
};
Example #9
Source File: LanguagePicker.js    From Edlib with GNU General Public License v3.0 5 votes vote down vote up
LanguagePicker.propTypes = {
    intl: intlShape,
    languageValue: PropTypes.string,
    hideNewVariant: PropTypes.bool,
    isNewLanguageVariant: PropTypes.bool,
    onChange: PropTypes.func,
    isUpdateInProgress: PropTypes.bool,
};
Example #10
Source File: index.js    From bank-client with MIT License 5 votes vote down vote up
Password.propTypes = {
  intl: intlShape.isRequired,
  onValidateFields: PropTypes.func.isRequired,
};
Example #11
Source File: index.ios.js    From bluezone-app with GNU General Public License v3.0 5 votes vote down vote up
ModalNotify.propTypes = {
  intl: intlShape.isRequired,
};
Example #12
Source File: H5PEditorContainer.js    From Edlib with GNU General Public License v3.0 5 votes vote down vote up
H5PEditorContainer.propTypes = {
    intl: intlShape,
    editorSetup: PropTypes.object,
};
Example #13
Source File: ContractTemplatesPage.js    From IBM-db2-blockchain-insurance-application with Apache License 2.0 5 votes vote down vote up
ContractTemplatesPage.propTypes = {
  intl: intlShape.isRequired,
  contractTypes: PropTypes.array,
  loading: PropTypes.bool.isRequired,
  contractTemplateActions: PropTypes.object.isRequired
};
Example #14
Source File: index.js    From bluezone-app with GNU General Public License v3.0 5 votes vote down vote up
WelcomeScreen.propTypes = {
  intl: intlShape.isRequired,
};