Const
Default styles for the GainControl component.
Controls visual appearance and icon threshold behavior. The volume thresholds determine when the icon changes between different states.
import { defaultGainControlStyles, GainControl } from '@hiyve/react-ui';// Larger thumb, different icon thresholdsconst styles = { ...defaultGainControlStyles, thumbSize: 20, lowVolumeThreshold: 25, mediumVolumeThreshold: 60,};<GainControl styles={styles} onChange={handleChange} /> Copy
import { defaultGainControlStyles, GainControl } from '@hiyve/react-ui';// Larger thumb, different icon thresholdsconst styles = { ...defaultGainControlStyles, thumbSize: 20, lowVolumeThreshold: 25, mediumVolumeThreshold: 60,};<GainControl styles={styles} onChange={handleChange} />
Default styles for the GainControl component.