diff --git a/package.json b/package.json index e8c8f5be60..49f6590de3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-paper", - "version": "3.7.0", + "version": "3.7.2", "description": "Material design for React Native", "main": "lib/commonjs/index.js", "module": "lib/module/index.js", @@ -41,9 +41,6 @@ "docs": "yarn --cwd docs", "example": "yarn --cwd example" }, - "publishConfig": { - "registry": "https://registry.npmjs.org/" - }, "dependencies": { "@callstack/react-theme-provider": "^3.0.5", "color": "^3.1.2", diff --git a/src/components/Searchbar.tsx b/src/components/Searchbar.tsx index a2ec3140dd..0cf9d7ccfd 100644 --- a/src/components/Searchbar.tsx +++ b/src/components/Searchbar.tsx @@ -16,7 +16,7 @@ import { Theme } from '../types'; import { IconSource } from './Icon'; import MaterialCommunityIcon from './MaterialCommunityIcon'; -type Props = React.ComponentProps & { +type Props = React.ComponentPropsWithRef & { /** * Accessibility label for the button. This is read by the screen reader when the user taps the button. */ @@ -71,6 +71,7 @@ type Props = React.ComponentProps & { * Whether the input can have multiple lines.. */ multiline?: boolean; + }; /** @@ -267,5 +268,5 @@ const styles = StyleSheet.create({ }, }); -export {Searchbar as ISearchbar} +export { Searchbar as ISearchbar }; export default withTheme(Searchbar);