feat(yaml): support comments (#3529)
This commit is contained in:
@ -7,7 +7,7 @@ const DatePreview = ({ value }) => (
|
||||
);
|
||||
|
||||
DatePreview.propTypes = {
|
||||
value: PropTypes.object,
|
||||
value: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
||||
};
|
||||
|
||||
export default DatePreview;
|
||||
|
Reference in New Issue
Block a user