-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flex doesn't works ? #193
Comments
anyone got into the issue? |
solved the issue by adding a view in the <Placeholder Animation={ShineOverlay}>
<View style={{display:"flex",flex:1,flexDirection:"row"}}>
<PlaceholderMedia style={style.skeleton}></PlaceholderMedia>
<PlaceholderMedia style={style.skeleton}></PlaceholderMedia>
<PlaceholderMedia style={style.skeleton}></PlaceholderMedia>
</View>
</Placeholder> the issue seems to be because the import React from "react";
import { ViewProps } from "react-native";
export interface PlaceholderProps extends ViewProps {
Animation?: React.ComponentType;
Left?: React.ComponentType<ViewProps>;
Right?: React.ComponentType<ViewProps>;
}
export declare const Placeholder: React.FC<PlaceholderProps>; until a fix happens here's a way to do it :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
i try to make 3 or more rectangle inline, i.e. flex row style. but this code doesn't works
How i can display loaders like in horizontal flatlist ?
Thanks
The text was updated successfully, but these errors were encountered: