Platform Based Styles
Platform-based styles allow you to easily create styles that are specific to a particular platform for specific platforms, such as Web, iOS, or Android
const StyledButton = styled(Pressable, {
<Provider config={config}>
const StyledButton = styled(Pressable, {
Although this feature is provided, it is not recommended to use it extensively.
Keep in mind that, while this approach allows for a more customized experience on each platform, this approach can make the codebase more complex and harder to maintain due to the need for additional logic to handle platform-specific props.
Thus, striking a balance between providing a customized experience and maintaining a manageable codebase is crucial.