react-native-boxes 1.4.45 → 1.4.46
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 +1 -1
- package/src/Button.tsx +3 -1
package/package.json
CHANGED
package/src/Button.tsx
CHANGED
|
@@ -341,7 +341,9 @@ export function SwitchView(props: SwitchProps & { text?: string, orientation?: '
|
|
|
341
341
|
/>
|
|
342
342
|
{
|
|
343
343
|
props.text && (
|
|
344
|
-
<TextView
|
|
344
|
+
<TextView style={{
|
|
345
|
+
paddingStart: theme.dimens.space.md
|
|
346
|
+
}}>{props.text}</TextView>
|
|
345
347
|
)
|
|
346
348
|
}
|
|
347
349
|
</HBox>
|