Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

ThemedScreenStack.tsx

8 lines398 Bytes

1import { Screen, ScreenStackHeaderConfig } from "react-native-screens";
2import { withUniwind } from "uniwind";
3​
4export const NativeScreen = withUniwind(Screen);
5export const NativeHeader = withUniwind(ScreenStackHeaderConfig, {
6 color: { fromClassName: "tintColorClassName", styleProperty: "accentColor" },
7 titleColor: { fromClassName: "titleColorClassName", styleProperty: "accentColor" },
8});