diff --git a/.changeset/late-icons-sit.md b/.changeset/late-icons-sit.md new file mode 100644 index 00000000..abe9fe48 --- /dev/null +++ b/.changeset/late-icons-sit.md @@ -0,0 +1,18 @@ +--- +"@bbob/cli": patch +"@bbob/core": patch +"@bbob/html": patch +"@bbob/parser": patch +"@bbob/plugin-helper": patch +"@bbob/preset-html5": patch +"@bbob/preset-react": patch +"@bbob/preset-vue": patch +"@bbob/preset": patch +"@bbob/react": patch +"@bbob/types": patch +"@bbob/vue2": patch +"@bbob/vue3": patch +--- + +Removed `defaultProps` and +Warning for deprecated defaultProps diff --git a/packages/bbob-react/src/Component.ts b/packages/bbob-react/src/Component.ts index a0a2a059..0ad7ed2f 100644 --- a/packages/bbob-react/src/Component.ts +++ b/packages/bbob-react/src/Component.ts @@ -34,11 +34,4 @@ const Component = ({ content(children, plugins, options), ); -Component.defaultProps = { - container: 'span', - plugins: [], - options: {}, - componentProps: {}, -}; - export default Component;