import React from "react";
import SegmentedControl, {
  SegmentedControlProps,
} from "@react-native-segmented-control/segmented-control";

export default React.forwardRef<any, SegmentedControlProps>(
  (props, ref): React.ReactElement => {
    return (
      <SegmentedControl
        tintColor="#3B82F6"
        backgroundColor="#3B82F6"
        {...ref}
        {...props}
      />
    );
  }
);
