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

feat: Add Button components for teams-components package #308

Merged
merged 9 commits into from
Feb 12, 2025

Conversation

ling1726
Copy link
Member

@ling1726 ling1726 commented Feb 11, 2025

Adds strict API for Button, ToggleButton, MenuButton components that:

  • restricts appearance
  • supports and enforces tooltip for icon buttons
  • enforces strics CSS classes
  • supports strict icon and toltip slots with lightweight types that are compatible with Fluent UI slots

Adds strict Button API that:

* restricts appearance
* supports and enforces tooltip for icon buttons
* enforces strics CSS classes
* supports strict icon and toltip slots with lightweight types that are
  compatible with Fluent UI slots
@ling1726 ling1726 marked this pull request as ready for review February 11, 2025 14:20
@ling1726 ling1726 requested a review from a team as a code owner February 11, 2025 14:20
@ling1726 ling1726 changed the title feat: Add Button component for teams-components package feat: Add Button components for teams-components package Feb 11, 2025
@ling1726 ling1726 enabled auto-merge (squash) February 11, 2025 17:57
@ling1726 ling1726 disabled auto-merge February 11, 2025 17:59
@ling1726 ling1726 merged commit 418db77 into microsoft:main Feb 12, 2025
3 checks passed
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