react-native-skia icon indicating copy to clipboard operation
react-native-skia copied to clipboard

Invariant Violation: View config getter callback for component `skBoxShadow`...

Open zulfio opened this issue 1 year ago • 0 comments

Description

I'm just copy paste from example here. https://github.com/Shopify/react-native-skia/blob/main/example/src/Examples/Neumorphism/Dashboard/components/Button.tsx

I got this errors: Invariant Violation: View config getter callback for component skBoxShadow must be a function (received undefined). Make sure to start component names with a capital letter. This error is located at: in skBoxShadow (created by BoxShadow) in BoxShadow (created by ButtonNeumorphism) in skBox (created by Box) in Box (created by ButtonNeumorphism) in skGroup (created by Group) in Group (created by FitBox) in FitBox (created by ButtonNeumorphism)

my package.json: "@shopify/react-native-skia": "^1.2.3", "react-native-reanimated": "^3.11.0",

Version

1.2.3

Steps to reproduce

i'm just run the code from example file.

Snack, code example, screenshot, or link to a repository

https://vscode.dev/github/Shopify/react-native-skia/blob/main/example/src/Examples/Neumorphism/Dashboard/components/Button.tsx

function App() {
  return (
    <Button x={0} y={0} height={50} pressed={false} width={50}>
      <Text>test</Text>
    </Button>
  );
}

zulfio avatar May 15 '24 09:05 zulfio