MCPcopy
hub / github.com/BlueWallet/BlueWallet / ButtonProps

Interface ButtonProps

components/Button.tsx:7–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5import { useTheme } from './themes';
6
7interface ButtonProps extends PressableProps {
8 backgroundColor?: string;
9 buttonTextColor?: string;
10 disabled?: boolean;
11 testID?: string;
12 icon?: Pick<IconProps, 'name' | 'type'> & { color: string };
13 title?: string;
14 style?: StyleProp<ViewStyle>;
15 onPress?: () => void;
16 showActivityIndicator?: boolean;
17}
18
19export const Button = forwardRef<React.ElementRef<typeof Pressable>, ButtonProps>((props, ref) => {
20 const { colors } = useTheme();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected