@dropi/react-native-design-system 0.2.3 → 0.2.4

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.
@@ -3,5 +3,5 @@ interface Props {
3
3
  setFilterText: (text: string) => void;
4
4
  placeholder?: string;
5
5
  }
6
- export declare const Search: ({ filterText, setFilterText, placeholder }: Props) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const Search: ({ filterText, setFilterText, placeholder, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -12,7 +12,8 @@ var _jsxRuntime = require("react/jsx-runtime");
12
12
  const Search = ({
13
13
  filterText,
14
14
  setFilterText,
15
- placeholder
15
+ placeholder,
16
+ ...rest
16
17
  }) => {
17
18
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
18
19
  style: {
@@ -44,7 +45,8 @@ const Search = ({
44
45
  placeholder: placeholder || 'Buscar',
45
46
  placeholderTextColor: _constants.colors['Gray-500'].light,
46
47
  value: filterText,
47
- onChangeText: setFilterText
48
+ onChangeText: setFilterText,
49
+ ...rest
48
50
  }), filterText !== '' && /*#__PURE__*/(0, _jsxRuntime.jsx)(_atoms.TextButton, {
49
51
  label: "",
50
52
  size: "large",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dropi/react-native-design-system",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "A React Native package built from scratch",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",