Created
August 30, 2025 19:10
-
-
Save Ramko9999/693412911cc8064a7a5e4bc19a2e59d2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const commonSheetStyles = StyleSheet.create({ | |
| sheetHeader: { | |
| ...StyleUtils.flexRow(), | |
| alignItems: "center", | |
| justifyContent: "space-between", | |
| width: "100%", | |
| paddingHorizontal: "5%", | |
| paddingTop: "3%", | |
| paddingBottom: "4%", | |
| }, | |
| sheetIcon: { | |
| ...StyleUtils.flexRowCenterAll(), | |
| borderRadius: "50%", | |
| aspectRatio: 1, | |
| padding: "2%", | |
| } | |
| }); | |
| export function SheetX({ size = 14 }: { size?: number }) { | |
| const color = useThemeColoring("primaryText"); | |
| const bg = tintColor(useThemeColoring("primaryViewBackground"), 0.05); | |
| return ( | |
| <View style={[commonSheetStyles.sheetIcon, { backgroundColor: bg }]}> | |
| <LucideX size={size} color={color} /> | |
| </View> | |
| ); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment