Skip to content

Commit

Permalink
v3.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
iRoachie authored Mar 27, 2018
2 parents 9f7fe40 + 8111009 commit 417ee05
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-search-bar",
"version": "3.4.0",
"version": "3.4.1",
"description": "The native search bar for react native.",
"keywords": ["search-bar", "react-component", "react-native", "ios"],
"repository": {
Expand Down
7 changes: 6 additions & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// TypeScript Version: 2.6

import * as React from 'react'
import { ReturnKeyTypeIOS, KeyboardType, KeyboardTypeIOS } from 'react-native'
import { ReturnKeyTypeIOS, KeyboardType, KeyboardTypeIOS, ViewStyle } from 'react-native'

interface Props {
/**
Expand Down Expand Up @@ -141,6 +141,11 @@ interface Props {
* Event fired when
*/
onChange?(event: { target: number; text: string; eventCount: number }): void

/**
* Searchbar style
*/
style?: ViewStyle,

/**
* Event fired when the text in the input changes
Expand Down

0 comments on commit 417ee05

Please sign in to comment.