UNPKG

react-mapfilter

Version:

These components are designed for viewing data in Mapeo. They share a common interface:

19 lines (17 loc) 628 B
import _extends from "@babel/runtime-corejs3/helpers/extends"; import React from 'react'; import Button from '@material-ui/core/Button'; import { defineMessages, FormattedMessage } from 'react-intl'; const messages = defineMessages({ // Button text to turn off filters for a field showAll: { "id": "NBKC/Q==", "defaultMessage": 'All' } }); const ShowAllButton = props => /*#__PURE__*/React.createElement(Button, _extends({ color: "primary", size: "small" }, props), /*#__PURE__*/React.createElement(FormattedMessage, messages.showAll)); export default ShowAllButton; //# sourceMappingURL=ShowAllButton.js.map