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 bluezone-app with GNU General Public License v3.0 5 votes vote down vote up
ContactHistoryScreen.propTypes = {
  intl: intlShape.isRequired,
};
Example #3
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 #4
Source File: Article.js    From Edlib with GNU General Public License v3.0 5 votes vote down vote up
Article.propTypes = {
    intl: intlShape,
    uploadUrl: PropTypes.string,
    articleSetup: PropTypes.object,
};
Example #5
Source File: FloatView.js    From Nemesis with GNU General Public License v3.0 5 votes vote down vote up
FloatView.propTypes = {
  intl: intlShape.isRequired
};
Example #6
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 #7
Source File: index.js    From bank-client with MIT License 5 votes vote down vote up
Modal.propTypes = {
  intl: intlShape.isRequired,
};
Example #8
Source File: context.jsx    From covid19-testing with Apache License 2.0 5 votes vote down vote up
IntlContext = React.createContext<IntlShape>(defaultContextValue)