|
|
@ -28,7 +28,7 @@ export default function IconButton ({ onClick, Icon, disabled, label, tooltipRen |
|
|
|
|
|
|
|
|
|
|
|
IconButton.propTypes = { |
|
|
|
IconButton.propTypes = { |
|
|
|
onClick: PropTypes.func.isRequired, |
|
|
|
onClick: PropTypes.func.isRequired, |
|
|
|
Icon: PropTypes.element.isRequired, |
|
|
|
Icon: PropTypes.func.isRequired, |
|
|
|
disabled: PropTypes.bool, |
|
|
|
disabled: PropTypes.bool, |
|
|
|
label: PropTypes.string.isRequired, |
|
|
|
label: PropTypes.string.isRequired, |
|
|
|
tooltipRender: PropTypes.func, |
|
|
|
tooltipRender: PropTypes.func, |
|
|
|