Skip to content

Instantly share code, notes, and snippets.

@Ramko9999
Created August 30, 2025 19:10
Show Gist options
  • Select an option

  • Save Ramko9999/693412911cc8064a7a5e4bc19a2e59d2 to your computer and use it in GitHub Desktop.

Select an option

Save Ramko9999/693412911cc8064a7a5e4bc19a2e59d2 to your computer and use it in GitHub Desktop.
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