MCPcopy Create free account
hub / github.com/ICBNetwork/web3-Wallet / createStyles

Function createStyles

app/components/Base/SelectorButton.js:7–24  ·  view source on GitHub ↗
(colors)

Source from the content-addressed store, hash-verified

5import { useTheme } from '../../util/theme';
6
7const createStyles = (colors) =>
8 StyleSheet.create({
9 container: {
10 backgroundColor: colors.background.alternative,
11 paddingVertical: 8,
12 paddingHorizontal: 10,
13 borderRadius: 100,
14 flexDirection: 'row',
15 alignItems: 'center',
16 justifyContent: 'center',
17 },
18 caretDown: {
19 textAlign: 'right',
20 color: colors.text.alternative,
21 marginLeft: 10,
22 marginRight: 5,
23 },
24 });
25
26function SelectorButton({ onPress, disabled, children, ...props }) {
27 const { colors } = useTheme();

Callers 1

SelectorButtonFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected