ptomasroos / react-native-multi-slider

Android and iOS Pure JS react native multi slider
MIT License
772 stars 399 forks source link

CustomLeftMarker & CustomRightMarker not working #277

Closed margretheluth closed 1 year ago

margretheluth commented 1 year ago

I can't get the CustomLeftMarker & CustomRightMarker to work, is this a know problem? In the code below the customMarkerLeft is still the same as the default. I have tried to the customMarker but then they are styled the same.

  customMarkerLeft={() => CustomMarker(startTimeSlider)}
  import colors from '../../../../theme/colors';
  export const CustomMarker =( value)=>{
  console.log(value)
      return (
        <View style={styles.markerContainer}>
        </View>
      );
    };
    const styles = StyleSheet.create({
      markerContainer:{
        backgroundColor: colors.buttonDarkGreen,
        padding: 10,
        width: 20,
        height:20
      }
    });

Steps to Reproduce

Expected Behavior

Actual Behavior

Djiypyk commented 6 months ago

not fixed?