Skip to content

Commit

Permalink
fix(component): fixed example slider to include tap events and error …
Browse files Browse the repository at this point in the history
…styling (#2376)
  • Loading branch information
prateekchachra authored Nov 26, 2024
1 parent bc55ca1 commit a486121
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions example/src/components/PlaybackError.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ export const PlaybackError: React.FC<{
const styles = StyleSheet.create({
container: {
width: '100%',
marginVertical: 24,
alignSelf: 'center'
},
text: {
color: 'red',
Expand Down
1 change: 1 addition & 0 deletions example/src/components/Progress.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const Progress: React.FC<{ live?: boolean }> = ({ live }) => {
) : (
<View>
<Slider
tapToSeek
style={{ ...styles.slider, width: progressBarWidth }}
value={position}
minimumValue={0}
Expand Down

0 comments on commit a486121

Please sign in to comment.