ordering-ui-react-native 0.11.14 → 0.11.15

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-react-native",
3
- "version": "0.11.14",
3
+ "version": "0.11.15",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -53,6 +53,7 @@ const FloatingButtonUI = (props: FloatingButtonParams) => {
53
53
  return (
54
54
  <Container
55
55
  isIos={Platform.OS === 'ios'}
56
+ paddingBottomIos={props.paddingBottomIos}
56
57
  style={{ paddingHorizontal: props.isPadding ? 30 : 0 }}>
57
58
  <View
58
59
  style={{
@@ -15,7 +15,7 @@ export const Container = styled.View`
15
15
  ${(props: any) =>
16
16
  props.isIos &&
17
17
  css`
18
- padding-bottom: 5px;
18
+ padding-bottom: ${(props: any) => props.paddingBottomIos ? `${props.paddingBottomIos}px` : '5px'};
19
19
  `}
20
20
  `;
21
21
 
@@ -436,6 +436,7 @@ export interface FloatingButtonParams {
436
436
  secondButton?: boolean;
437
437
  firstColorCustom?: string;
438
438
  secondColorCustom?: string;
439
+ paddingBottomIos?: any;
439
440
  }
440
441
  export interface MomentOptionParams {
441
442
  navigation: any;