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

Allow Divider to accept View Props #3520

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

lawrencewin
Copy link
Contributor

@lawrencewin lawrencewin commented Mar 21, 2024

Platforms Impacted

  • iOS
  • macOS
  • win32 (Office)
  • windows
  • android

Description of changes

Previously, the Divider did not accept View props which made basic tasks like styling involve more steps (customizing the component) and other tasks, such as measuring layout, impossible.

This PR fixes this by allowing the Divider to take View props and merging those props into the root slot.

Verification

Tested locally.

Pull request checklist

This PR has considered (when applicable):

  • Automated Tests
  • Documentation and examples
  • Keyboard Accessibility
  • Voiceover
  • Internationalization and Right-to-left Layouts

@lawrencewin lawrencewin marked this pull request as ready for review March 21, 2024 22:40
@lawrencewin lawrencewin requested a review from a team as a code owner March 21, 2024 22:40
@rurikoaraki
Copy link
Collaborator

I mean we kind of do want styling to take a bit more effort because extra styling generally deviates from Fluent standards... What sort of styling is being an issue?

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

Successfully merging this pull request may close these issues.

2 participants