I'm getting the below error when using a VictoryAxis by itself, without any VictoryChart.
<VictoryAxis dependentAxis tickFormat={(t: number) => Number.isInteger(t) ? `${Math.round(t)}` : null} crossAxis={false} domain={{ y: [0, props.domainMax] }} tickCount={5} style={{ axis: {stroke: "transparent"} }} />
Full error is:
Warning: Failed %s type: %s%s, prop, Invalid prop `domain` supplied to `VictoryAxis`., VictoryAxis in BarGraph (created by BarGraphCard) in RCTView (created by View) in View in Unknown in Box in Stack in VStack in BarGraphCard (created by FeedingDetails) in RCTView (created by View) in View in Unknown in Box in Stack in VStack in RCTScrollContentView (created by ScrollView) in RCTScrollView (created by ScrollView) in ScrollView (created by ScrollView) in ScrollView in Unknown in Unknown (created by FeedingDetails) in RCTView (created by View) in View (created by KeyboardAvoidingView) in KeyboardAvoidingView in Unknown in Unknown (created by ScreenContainer) in RCTView (created by View) in View in Unknown in Box in ScreenContainer (created by FeedingDetails) in FeedingDetails (created by SceneView) in StaticContainer in EnsureSingleNavigator (created by SceneView) in SceneView (created by SceneView) in RCTView (created by View) in View (created by DebugContainer) in DebugContainer (created by MaybeNestedStack) in MaybeNestedStack (created by SceneView) in RNSScreen (created by AnimatedComponent) in AnimatedComponent in AnimatedComponentWrapper (created by Screen) in MaybeFreeze (created by Screen) in Screen (created by SceneView) in SceneView (created by NativeStackViewInner) in RNSScreenStack (created by ScreenStack) in ScreenStack (created by NativeStackViewInner) in NativeStackViewInner (created by NativeStackView) in RCTView (created by View) in View (created by SafeAreaInsetsContext) in SafeAreaProviderCompat (created by NativeStackView) in NativeStackView (created by NativeStackNavigator) in Unknown (created by NativeStackNavigator) in NativeStackNavigator (created by RootNavigator) in RootNavigator in EnsureSingleNavigator in BaseNavigationContainer in ThemeProvider in NavigationContainerInner in _c (created by App) in SessionProvider (created by App) in $29383e587d62412a$export$9f8ac96af4b1b2ae (created by NativeBaseProvider) in ToastProvider (created by NativeBaseProvider) in PortalProvider (created by NativeBaseProvider) in HybridProvider (created by NativeBaseProvider) in ResponsiveQueryProvider (created by NativeBaseProvider) in RNCSafeAreaProvider (created by SafeAreaProvider) in SafeAreaProvider (created by NativeBaseProvider) in NativeBaseConfigProviderProvider (created by NativeBaseProvider) in NativeBaseProvider (created by App) in DatabaseProvider (created by App) in BluetoothProvider (created by App) in RCTView (created by View) in View (created by App) in App (created by RootApp) in ReactNativeProfiler (created by RootApp) in RCTView (created by View) in View (created by __Sentry.TouchEventBoundary) in __Sentry.TouchEventBoundary (created by RootApp) in RootApp (created by ExpoRoot) in ExpoRoot in RCTView (created by View) in View (created by AppContainer) in RCTView (created by View) in View (created by AppContainer) in AppContainer in main(RootComponent)at node_modules/react/cjs/react-jsx-runtime.development.js:117:33 in printWarningat node_modules/react/cjs/react-jsx-runtime.development.js:93:16 in errorat node_modules/react/cjs/react-jsx-runtime.development.js:620:15 in checkPropTypesat node_modules/react/cjs/react-jsx-runtime.development.js:1072:20 in validatePropTypesat node_modules/react/cjs/react-jsx-runtime.development.js:1192:23 in jsxWithValidationat components/BarGraph.tsx:44:10 in BarGraph