diff --git a/src/CaretBox.js b/src/CaretBox.js index d9189c8d581..7c285c79ed3 100644 --- a/src/CaretBox.js +++ b/src/CaretBox.js @@ -1,5 +1,5 @@ import React from 'react' -import Box from './Box' +import Block from './Box' import Caret from './Caret' import {withSystemProps} from './system-props' @@ -14,21 +14,25 @@ function CaretBox(props) { } return ( - + {children} - + ) } CaretBox.propTypes = { - ...Box.propTypes, + ...Block.propTypes, caret: Caret.propTypes.location } CaretBox.defaultProps = { - ...Box.defaultProps, + ...Block.defaultProps, + bg: 1, + border: 1, + borderColor: 'gray.2', + borderRadius: 1, position: 'relative' } -export default withSystemProps(CaretBox, ['color']) +export default CaretBox