We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f15387a + f0c6313 commit 0edb15dCopy full SHA for 0edb15d
packages/core/src/MenuDropdown/item.tsx
@@ -5,10 +5,8 @@ export interface ItemProps {
5
children?: React.ReactNode;
6
}
7
8
-export default class Item extends React.Component<ItemProps> {
9
- render() {
10
- return <View style={styles.item}>{this.props.children}</View>;
11
- }
+export default function Item(props: ItemProps) {
+ return <View style={styles.item}>{props.children}</View>;
12
13
14
const styles = StyleSheet.create({
website/package.json
@@ -43,6 +43,7 @@
43
},
44
"devDependencies": {
45
"@babel/plugin-proposal-decorators": "~7.20.7",
46
+ "@babel/plugin-proposal-private-property-in-object": "~7.21.0",
47
"@kkt/less-modules": "^7.3.2",
48
"@kkt/raw-modules": "7.0.5",
49
"@kkt/scope-plugin-options": "7.0.5",
0 commit comments