Skip to content
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

Can't flow vertically #5

Open
dustinlacewell opened this issue Jul 26, 2021 · 2 comments
Open

Can't flow vertically #5

dustinlacewell opened this issue Jul 26, 2021 · 2 comments

Comments

@dustinlacewell
Copy link

I am using over some s and inside a with flexDirection "column" and things are not flowing correctly:

<Box borderStyle="single" flexDirection="column">
        <Gradient flexDirection="column" colors={["red", "blue"]}>
            {lines.map((t, i) => <Text key={i}>{t}</Text>)}
        </Gradient>
</Box>

image

@sindresorhus
Copy link
Owner

sindresorhus commented Jul 26, 2021

Gradient doesn't accept that flexDirection prop type. Submit a failing test and I'll take another look.

@dustinlacewell
Copy link
Author

That is superflous and unrelated attempts to try to make it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants