@holper/react-native-holper-storybook 0.6.70 → 0.6.71

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.
@@ -1,8 +1,8 @@
1
- import PropTypes from 'prop-types';
2
- import React from 'react';
3
- import { View, TextInput, Text } from 'react-native';
4
- import style from './style';
5
- import { Colors } from '../../configs/constants';
1
+ import PropTypes from "prop-types";
2
+ import React from "react";
3
+ import { View, TextInput, Text } from "react-native";
4
+ import style from "./style";
5
+ import { Colors } from "../../configs/constants";
6
6
 
7
7
  const Input = ({
8
8
  disabled,
@@ -12,6 +12,7 @@ const Input = ({
12
12
  leftIconWide,
13
13
  size,
14
14
  variant,
15
+ count,
15
16
  ...props
16
17
  }) => (
17
18
  <View>
@@ -65,8 +66,9 @@ Input.defaultProps = {
65
66
  leftIconWide: false,
66
67
  rightIcon: null,
67
68
  rightIconWide: false,
68
- size: 'fixed',
69
- variant: 'default',
69
+ size: "fixed",
70
+ variant: "default",
71
+ count: 0,
70
72
  };
71
73
 
72
74
  Input.propTypes = {
@@ -75,8 +77,9 @@ Input.propTypes = {
75
77
  leftIconWide: PropTypes.bool,
76
78
  rightIcon: PropTypes.node,
77
79
  rightIconWide: PropTypes.bool,
78
- size: PropTypes.oneOf(['fixed', 'fit']),
79
- variant: PropTypes.oneOf(['default', 'completed', 'error']),
80
+ size: PropTypes.oneOf(["fixed", "fit"]),
81
+ variant: PropTypes.oneOf(["default", "completed", "error"]),
82
+ count: PropTypes.number,
80
83
  };
81
84
 
82
85
  export default Input;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "main": "lib/index.js",
3
3
  "name": "@holper/react-native-holper-storybook",
4
4
  "description": "A component library for Holper projects",
5
- "version": "0.6.70",
5
+ "version": "0.6.71",
6
6
  "license": "MIT",
7
7
  "files": [
8
8
  "lib",