HorizontalRule component for cross-platform separator block#14361
HorizontalRule component for cross-platform separator block#14361
Conversation
830e289 to
7336885
Compare
|
@gziolo thanks for the suggestions. I'll do some more testing next week and get this ready to review and merge |
|
I think this is ready to review. I tested on mobile and web and everything looks ok. I considered adding a README.md to the new primitive, but I couldn't come up with anything good, since it's mostly a wrapper for |
I think this is totally expected to be that simple :) It will be exposed in the sidebar. |
gziolo
left a comment
There was a problem hiding this comment.
Let's add docs and get it merged 👍
|
Added a README and entry on the CHANGELOG, let me know if that looks good 😁 |
| "parent": "components" | ||
| }, | ||
| { | ||
| "title": "HorizontalRule", |
There was a problem hiding this comment.
Kind of 😁
I think this was generated by the precommit hook, but not included in the commit that added the README. I only noticed it because I did a second commit with the Usage section
Co-Authored-By: koke <jbernal@gmail.com>
Description
This PR adds a
HorizontalRulewrapper to thehrHTML tag, using react-native-hr on the native implementation, to allow for a cross platform separator block.How has this been tested?
Tested on mobile:
Tested on web:
Screenshots
Types of changes
Checklist: