mirror of
https://github.com/tenrok/BBob.git
synced 2026-06-20 20:00:33 +03:00
fix(react): removed warning for deprecated defaultProps (#248)
* fix(react): Warning for deprecated defaultProps Fixes #180 * Create late-icons-sit.md --------- Co-authored-by: Nikolay Kost <JiLiZART@Gmail.com>
This commit is contained in:
@@ -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
|
||||||
@@ -34,11 +34,4 @@ const Component = ({
|
|||||||
content(children, plugins, options),
|
content(children, plugins, options),
|
||||||
);
|
);
|
||||||
|
|
||||||
Component.defaultProps = {
|
|
||||||
container: 'span',
|
|
||||||
plugins: [],
|
|
||||||
options: {},
|
|
||||||
componentProps: {},
|
|
||||||
};
|
|
||||||
|
|
||||||
export default Component;
|
export default Component;
|
||||||
|
|||||||
Reference in New Issue
Block a user