|
48 | 48 | | `renderBubble` | `() => React.ReactNode` | - | - | Custom bubble component |
|
49 | 49 | | `renderThumb` | `() => React.ReactNode` | - | - | Custom thumb component |
|
50 | 50 | | `renderMark` | `({ index: number }) => React.ReactNode` | - | - | Custom mark component |
|
| 51 | +| `renderTrack` | `({ index: number }) => React.ReactNode` | - | - | Custom track component | |
51 | 52 |
|
52 | 53 | ### Behavior
|
53 | 54 |
|
54 |
| -| Prop | Type | Required | Default | Description | |
55 |
| -| -------------------- | ---------------------------- | -------- | ------------ | ------------------------------- | |
56 |
| -| `disable` | `boolean` | - | `false` | Disables all interactions | |
57 |
| -| `disableTapEvent` | `boolean` | - | `true` | Disables tap-to-seek behavior | |
58 |
| -| `step` | `number` | - | - | Step value for discrete slider | |
59 |
| -| `steps` | `number` | - | - | Number of steps | |
60 |
| -| `snapToStep` | `boolean` | - | `true` | Whether to snap to steps | |
61 |
| -| `heartbeat` | `boolean` | - | `false` | Enables heartbeat animation | |
62 |
| -| `disableTrackFollow` | `boolean` | - | `false` | Disable thumb following track | |
63 |
| -| `disableTrackPress` | `boolean` | - | `false` | Only allow dragging thumb | |
64 |
| -| `stepTimingOptions` | `WithTimingConfig \| false` | - | `false` | Animation config for steps | |
65 |
| -| `snapThreshold` | `number` | - | `0` | Threshold for snapping to steps | |
66 |
| -| `snapThresholdMode` | `'percentage' \| 'absolute'` | - | `'absolute'` | Mode for snap threshold | |
67 |
| -| `forceSnapToStep` | `boolean` | - | `false` | Always snap to nearest step | |
68 |
| -| `hapticMode` | `'none' \| 'step' \| 'both'` | - | `'none'` | When to trigger haptics | |
| 55 | +| Prop | Type | Required | Default | Description | |
| 56 | +| -------------------- | ---------------------------- | -------- | ------------------- | ------------------------------- | |
| 57 | +| `disable` | `boolean` | - | `false` | Disables all interactions | |
| 58 | +| `disableTapEvent` | `boolean` | - | `true` | Disables tap-to-seek behavior | |
| 59 | +| `step` | `number` | - | - | Step value for discrete slider | |
| 60 | +| `steps` | `number` | - | - | Number of steps | |
| 61 | +| `snapToStep` | `boolean` | - | `true` | Whether to snap to steps | |
| 62 | +| `heartbeat` | `boolean` | - | `false` | Enables heartbeat animation | |
| 63 | +| `disableTrackFollow` | `boolean` | - | `false` | Disable thumb following track | |
| 64 | +| `disableTrackPress` | `boolean` | - | `false` | Only allow dragging thumb | |
| 65 | +| `stepTimingOptions` | `WithTimingConfig \| false` | - | `false` | Animation config for steps | |
| 66 | +| `snapThreshold` | `number` | - | `0` | Threshold for snapping to steps | |
| 67 | +| `snapThresholdMode` | `'percentage' \| 'absolute'` | - | `'absolute'` | Mode for snap threshold | |
| 68 | +| `forceSnapToStep` | `boolean` | - | `false` | Always snap to nearest step | |
| 69 | +| `hapticMode` | `'none' \| 'step' \| 'both'` | - | `'none'` | When to trigger haptics | |
| 70 | +| `isRTL` | `boolean` | - | `I18nManager.isRTL` | Enable RTL (right-to-left) mode | |
69 | 71 |
|
70 | 72 | ### Gesture Configuration
|
71 | 73 |
|
|
0 commit comments