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

[DirectionProvider] add an inline prop #4

Merged
merged 1 commit into from
Jan 11, 2018
Merged

[DirectionProvider] add an inline prop #4

merged 1 commit into from
Jan 11, 2018

Conversation

yzimet
Copy link
Collaborator

@yzimet yzimet commented Jan 10, 2018

The inline prop of DirectionProvider changes the wrapping element to a <span> instead of a <div>. This can be used when setting the direction context of inline elements, to avoid inserting a block level element.

to: @garrettberg @jasonkb @ljharb @airbnb/react-with-direction-maintainers

The inline prop changes the wrapping element to a `<span>` instead of a `<div>`.
This can be used when setting the direction context of inline elements, to avoid
inserting a block level element.
@jasonkb
Copy link

jasonkb commented Jan 10, 2018

@yzimet LGTM! Oh I don't have write access. Regrettable.

Copy link

@jasonkb jasonkb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love it

Copy link
Collaborator

@garrettberg garrettberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@yzimet yzimet merged commit 936937e into master Jan 11, 2018
@yzimet yzimet deleted the add_inline_prop branch January 11, 2018 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants