@ledvance/base 1.1.46 → 1.1.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "@ledvance/base",
5
5
  "pid": [],
6
6
  "uiid": "",
7
- "version": "1.1.46",
7
+ "version": "1.1.47",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@reduxjs/toolkit": "^1.8.6",
@@ -19,4 +19,5 @@ interface FanAdjustViewProps extends ViewProps {
19
19
  onFanSpeedChangeComplete: (fanSpeed: number) => void;
20
20
  }
21
21
  declare const FanAdjustView: (props: FanAdjustViewProps) => JSX.Element;
22
+ export declare function FanAdjustViewContent(props: FanAdjustViewProps): JSX.Element;
22
23
  export default FanAdjustView;
@@ -34,8 +34,15 @@ interface FanAdjustViewProps extends ViewProps {
34
34
 
35
35
  const FanAdjustView = (props: FanAdjustViewProps) => {
36
36
  return (
37
- <Card
38
- style={props.style}>
37
+ <Card style={props.style}>
38
+ <FanAdjustViewContent {...props}/>
39
+ </Card>
40
+ )
41
+ }
42
+
43
+ export function FanAdjustViewContent(props: FanAdjustViewProps) {
44
+ return (
45
+ <View>
39
46
  <LdvSwitch
40
47
  title={I18n.getLang('add_new_dynamic_mood_ceiling_fan_field_headline')}
41
48
  enable={props.fanEnable}
@@ -127,7 +134,7 @@ const FanAdjustView = (props: FanAdjustViewProps) => {
127
134
  title={I18n.getLang('ceiling_fan_tile_uvc_fan_disinfect')}/>
128
135
  <Spacer height={cx(16)}/>
129
136
  </>}
130
- </Card>
137
+ </View>
131
138
  )
132
139
  }
133
140