-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[add] StyleSheet support for start/end properties and values
Add support for new style properties and values that automatically account for the writing direction (as introduced in React Native 0.51.0). The start/end variants are automatically resolved to match the global writing direction, as defined by I18nManager.isRTL. Start/End take precedence over Left/Right. Adds support for the following properties: * `borderTop{End,Start}Radius` * `borderBottom{End,Start}Radius` * `border{End,Start}Color` * `border{End,Start}Style` * `border{End,Start}Width` * `end` * `margin{End,Start}` * `padding{End,Start}` * `start` And values: * `clear: "end" | "start"` * `float: "end" | "start"` * `textAlign: "end" | "start"`
- Loading branch information
Showing
8 changed files
with
322 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.