interface PlayButtonProps {
    icon?: {
        pause: ReactNode;
        play: ReactNode;
        replay: ReactNode;
    };
    style?: StyleProp<ViewStyle>;
    testID?: string;
}

Hierarchy

  • ButtonBaseProps
    • PlayButtonProps

Properties

Properties

icon?: {
    pause: ReactNode;
    play: ReactNode;
    replay: ReactNode;
}

The icon components used in the button.

Type declaration

  • pause: ReactNode
  • play: ReactNode
  • replay: ReactNode

The style overrides for the button.

testID?: string

An id used to locate this view in end-to-end tests.