[native] missing styled.ImageBackground and styled.SafeAreaView
See original GitHub issueVersion
styled-components: 2.2.4
Reproduction
https://www.webpackbin.com/bins/-KeeZCr0xKfutOfOujxN https://codesandbox.io/s/rkmNRByE4
Steps to reproduce
import styled from "styled-components/native";
const Example = styled.ImageBackground /* Not available */
const Examle2 = styled.SafeAreaView /* .Not avaliable */
Expected Behavior
Components are not yet documented I think, but should be available on styled
? As they can be imported from “react-native”
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Working with background color of SafeAreaView in React Native
I want to use Purple Plum. return ( <> <StatusBar barStyle="dark-content" /> <SafeAreaView style={{flex: 1, backgroundColor: ...
Read more >What's the best way to add a full screen background image in ...
For proper use choose <ImageBackground /> with style and imageStyle prop. Apply all Image relevant styles to imageStyle . For example: <ImageBackground source={ ......
Read more >Releases - styled-components
Add missing typeof window check when checking for duplicate instances of styled-components ... Fix React Native components accepts function as style prop.
Read more >ImageBackground - React Native
To handle this use case, you can use the <ImageBackground> component, ... Note that you must specify some width and height style attributes....
Read more >Using CSS Modules in React Native - LogRocket Blog
React Native apps are commonly styled using either inline styles or ... from 'react'; import { SafeAreaView, Text, View, ImageBackground, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@femiveys try the latest release.
@breadadams Looks like
SafeAreaView
isn’t in the flow types either if you want to follow up and add it.SafeAreaView still seems to be missing