react-crud-mobile 1.3.62 → 1.3.63

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,5 +1,5 @@
1
1
  {
2
- "version": "1.3.62",
2
+ "version": "1.3.63",
3
3
  "license": "MIT",
4
4
  "description": "Uma biblioteca de componentes para React Native",
5
5
  "main": "dist/index.js",
@@ -79,6 +79,21 @@ export default function UIOrder(props: ChildType) {
79
79
  <GestureHandlerRootView
80
80
  style={{ flex: 1, width: '100%', ...scope.getStyle('order') }}
81
81
  >
82
+ {original.search !== false && (
83
+ <UI.Text
84
+ placeholder="Pesquisar..."
85
+ field="query"
86
+ crud={crud}
87
+ style={{ marginBottom: 10 }}
88
+ change={{
89
+ action: () => {
90
+ scope.search();
91
+ },
92
+ }}
93
+ icon={<Ionicons name="search" size={20} color="#888" />}
94
+ />
95
+ )}
96
+
82
97
  <DraggableFlatList
83
98
  data={data}
84
99
  renderItem={renderItem}