2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-05-15 11:59:37 +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:
Sven Grübel
2024-08-21 15:01:17 +02:00
committed by GitHub
parent 934d88af20
commit 27c8c4b869
2 changed files with 18 additions and 7 deletions
+18
View File
@@ -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
-7
View File
@@ -34,11 +34,4 @@ const Component = ({
content(children, plugins, options),
);
Component.defaultProps = {
container: 'span',
plugins: [],
options: {},
componentProps: {},
};
export default Component;