diff --git a/documentation/docs/guides/migrating-to-v2.md b/documentation/docs/guides/migrating-to-v2.md index f2a8500c..215610ba 100644 --- a/documentation/docs/guides/migrating-to-v2.md +++ b/documentation/docs/guides/migrating-to-v2.md @@ -67,16 +67,16 @@ import { import Text from './Text'; import {Theme} from './theme'; -const restyleFunctions = composeRestyleFunctions([ - spacing, - border, - backgroundColor, -]); -type Props = SpacingProps & +type RestyleProps = SpacingProps & BorderProps & - BackgroundColorProps & { - onPress: () => void; - }; + BackgroundColorProps + +const restyleFunctions = composeRestyleFunctions([spacing, border, backgroundColor]); + +type Props = RestyleProps & { + onPress: () => void; + label: string +}; const Button = ({onPress, label, ...rest}: Props) => { const props = useRestyle(restyleFunctions, rest); diff --git a/fixture/android/gradlew b/fixture/android/gradlew old mode 100755 new mode 100644