import React from 'react'; import { StyleProp, StyleSheet, View, ViewStyle } from 'react-native'; import UITideAtom, { UITideAtomProps } from './UITideAtom'; import SliderControlAtom, { SliderControlAtomProps } from './UISliderControlAtom'; import TextRoleNucleon from './nucleons/TextRoleNucleon'; import { useColorRoles } from '../theme/colorSystem'; import { useSpacing } from '@mobily/stacks'; export type UISliderTideMoleculeProps = Omit< SliderControlAtomProps, 'width' | 'style' > & { style?: StyleProp; leftIconName: UITideAtomProps['leftIconName']; label: string; }; export default function UISliderTideMolecule({ style, label, leftIconName, ...sliderProps }: UISliderTideMoleculeProps) { const { surface } = useColorRoles(); const padding = useSpacing(2); const right = ({ width }: { width: number }) => ( {sliderProps.value?.toFixed(1)} ); const bottom = () => ; return ( ); }