mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-28 05:12:18 +01:00
0ebc465221
* Fix swap prop type errors * Fix prop type of sortColumn in sort-list
20 lines
817 B
JavaScript
20 lines
817 B
JavaScript
import PropTypes from 'prop-types'
|
|
|
|
export const QUOTE_DATA_ROWS_PROPTYPES_SHAPE = PropTypes.shape({
|
|
aggId: PropTypes.string.isRequired,
|
|
amountReceiving: PropTypes.string.isRequired,
|
|
destinationTokenDecimals: PropTypes.number.isRequired,
|
|
destinationTokenSymbol: PropTypes.string.isRequired,
|
|
destinationTokenValue: PropTypes.string.isRequired,
|
|
isBestQuote: PropTypes.bool.isRequired,
|
|
liquiditySource: PropTypes.string.isRequired,
|
|
metaMaskFee: PropTypes.string.isRequired,
|
|
networkFees: PropTypes.string.isRequired,
|
|
quoteSource: PropTypes.string.isRequired,
|
|
rawNetworkFees: PropTypes.number.isRequired,
|
|
slippage: PropTypes.string.isRequired,
|
|
sourceTokenDecimals: PropTypes.number.isRequired,
|
|
sourceTokenSymbol: PropTypes.string.isRequired,
|
|
sourceTokenValue: PropTypes.string.isRequired,
|
|
})
|