diff --git a/.prettierrc.js b/.prettierrc.js index cde2f12..404b11b 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -1,6 +1,6 @@ module.exports = { bracketSpacing: false, - bracketSameLine: true, + bracketSameLine: false, singleQuote: true, trailingComma: 'all', }; diff --git a/README.md b/README.md index 98e837e..d55ed7f 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,7 @@ This monorepo contains the `react-native-media-console` modules (`./packages/*`) Issues, pull request, and discussion are all welcome. See the [Contribution Guidelines](CONTRIBUTING.md) for details, and please reach out to [the author](https://github.com/LunatiqueCoder) if you would like to participate more significantly. +Active contributors are eligible to receive a license for all JetBrains Products that can be used for open source development.
## 🏆 Sponsors diff --git a/examples/MyTVProject/app/(tabs)/_layout.tsx b/examples/MyTVProject/app/(tabs)/_layout.tsx index a0c4c58..13d2715 100644 --- a/examples/MyTVProject/app/(tabs)/_layout.tsx +++ b/examples/MyTVProject/app/(tabs)/_layout.tsx @@ -35,7 +35,8 @@ export default function TabLayout() { marginBottom: 0, }, headerShown: false, - }}> + }} + > - }> + } + > Explore diff --git a/examples/MyTVProject/app/(tabs)/index.tsx b/examples/MyTVProject/app/(tabs)/index.tsx index 58b92e1..d62c8ab 100644 --- a/examples/MyTVProject/app/(tabs)/index.tsx +++ b/examples/MyTVProject/app/(tabs)/index.tsx @@ -17,7 +17,8 @@ export default function HomeScreen() { source={require('@/assets/images/partial-react-logo.png')} style={styles.reactLogo} /> - }> + } + > diff --git a/examples/MyTVProject/app/(tabs)/tv_focus.tsx b/examples/MyTVProject/app/(tabs)/tv_focus.tsx index b09763f..61afd63 100644 --- a/examples/MyTVProject/app/(tabs)/tv_focus.tsx +++ b/examples/MyTVProject/app/(tabs)/tv_focus.tsx @@ -20,7 +20,8 @@ export default function FocusDemoScreen() { name="tv-outline" style={styles.headerImage} /> - }> + } + > TV event handling demo diff --git a/examples/MyTVProject/components/Collapsible.tsx b/examples/MyTVProject/components/Collapsible.tsx index e4a4e04..77eb65c 100644 --- a/examples/MyTVProject/components/Collapsible.tsx +++ b/examples/MyTVProject/components/Collapsible.tsx @@ -18,7 +18,8 @@ export function Collapsible({ setIsOpen((value) => !value)} - activeOpacity={0.6}> + activeOpacity={0.6} + > pressed || focused ? styles.pressableFocused : styles.pressable - }> + } + > {({focused}) => { return ( @@ -135,7 +136,8 @@ const TouchableOpacityButton = (props: { event.eventKeyAction === 0 ? 'start' : 'end' }`, ) - }> + } + > {props.title} ); @@ -161,7 +163,8 @@ const TouchableHighlightButton = (props: { event.eventKeyAction === 0 ? 'start' : 'end' }`, ) - }> + } + > {props.title} ); @@ -185,7 +188,8 @@ const TouchableNativeFeedbackButton = (props: { event.eventKeyAction === 0 ? 'start' : 'end' }`, ) - }> + } + > {props.title} diff --git a/examples/MyTVProject/components/ExternalLink.tv.tsx b/examples/MyTVProject/components/ExternalLink.tv.tsx index 3fc9ced..9109317 100644 --- a/examples/MyTVProject/components/ExternalLink.tv.tsx +++ b/examples/MyTVProject/components/ExternalLink.tv.tsx @@ -13,7 +13,8 @@ export function ExternalLink({href, ...rest}: Props) { } style={({pressed, focused}) => ({ opacity: pressed || focused ? 0.6 : 1.0, - })}> + })} + > {rest.children} ); diff --git a/examples/MyTVProject/components/ParallaxScrollView.tsx b/examples/MyTVProject/components/ParallaxScrollView.tsx index 4f6d3fc..47dae73 100644 --- a/examples/MyTVProject/components/ParallaxScrollView.tsx +++ b/examples/MyTVProject/components/ParallaxScrollView.tsx @@ -57,7 +57,8 @@ export default function ParallaxScrollView({ styles.header, {backgroundColor: headerBackgroundColor[colorScheme]}, headerAnimatedStyle, - ]}> + ]} + > {headerImage} {children} diff --git a/packages/media-console/src/OSSupport/PlatformSupport.tsx b/packages/media-console/src/OSSupport/PlatformSupport.tsx index 443d83f..18bb8b2 100644 --- a/packages/media-console/src/OSSupport/PlatformSupport.tsx +++ b/packages/media-console/src/OSSupport/PlatformSupport.tsx @@ -39,7 +39,8 @@ export const PlatformSupport = ({ + style={[_styles.player.container, containerStyles]} + > {children} ); diff --git a/packages/media-console/src/VideoPlayer.tsx b/packages/media-console/src/VideoPlayer.tsx index e6e8f6b..9ee82de 100644 --- a/packages/media-console/src/VideoPlayer.tsx +++ b/packages/media-console/src/VideoPlayer.tsx @@ -400,7 +400,8 @@ const AnimatedVideoPlayer = ( showControls={showControls} containerStyles={styles.containerStyle} onScreenTouch={events.onScreenTouch} - testID={testID}> + testID={testID} + >