Skip to content

[Feature] Add aspectRatio to style props #131

Description

@pafry7

Summary

Add aspectRatio property to component's style props. docs

Motivation

Currently, react-native-magnus does not support adding aspectRatio prop to its components.

Additional Context

We would have:

<Div aspectRatio={2} /> instead of <Div style={{ aspectRatio: 2 }} />

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions