You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mobile/components/ui/SegmentedControl.tsx

23 lines
511 B

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
fontStyle={{
fontSize: 16,
fontWeight: "bold",
color: "black",
}}
tintColor="#60A5FA"
backgroundColor="#D1D5DB"
{...ref}
{...props}
/>
);
}
);