MCPcopy
hub / github.com/orion-lib/OrionTV / StyledButtonProps

Interface StyledButtonProps

components/StyledButton.tsx:8–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6import { useResponsiveLayout } from "@/hooks/useResponsiveLayout";
7
8interface StyledButtonProps extends PressableProps {
9 children?: React.ReactNode;
10 text?: string;
11 variant?: "default" | "primary" | "ghost";
12 isSelected?: boolean;
13 style?: StyleProp<ViewStyle>;
14 textStyle?: StyleProp<TextStyle>;
15}
16
17export const StyledButton = forwardRef<View, StyledButtonProps>(
18 ({ children, text, variant = "default", isSelected = false, style, textStyle, ...rest }, ref) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected