Skip to content

fix(uds): allow custom styles for Banner#547

Merged
stdavis merged 1 commit intomainfrom
fix/stay-classy
Oct 16, 2025
Merged

fix(uds): allow custom styles for Banner#547
stdavis merged 1 commit intomainfrom
fix/stay-classy

Conversation

@stdavis
Copy link
Copy Markdown
Member

@stdavis stdavis commented Oct 16, 2025

My use case is that I want to remove the margin.

Copilot AI review requested due to automatic review settings October 16, 2025 16:51
@stdavis stdavis enabled auto-merge (rebase) October 16, 2025 16:51
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enhances the Banner component by adding support for custom styling through a className prop. The main purpose is to allow consumers to override or extend the default styles, particularly to address the use case of removing the default margin.

Key Changes:

  • Added optional className prop to Banner component
  • Implemented twMerge to properly merge custom classes with default styles

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@github-actions
Copy link
Copy Markdown
Contributor

Visit the preview URL for this PR (updated for commit 1257fbc):
Firebase Preview: https://ut-dts-agrc-kitchen-sink-dev--fix-stay-classy-3fc63wie.web.app
(expires "2025-10-30T16:54:35.587592986Z" )

@stdavis stdavis requested review from Copilot and steveoh October 16, 2025 16:55
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@stdavis stdavis merged commit 8a3b333 into main Oct 16, 2025
7 checks passed
@stdavis stdavis deleted the fix/stay-classy branch October 16, 2025 17:30
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.

3 participants