Skip to content

Commit

Permalink
wording
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniGuardiola committed Apr 18, 2024
1 parent 3ce6489 commit 321f856
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function Button({ variant, ...props }) {
This strategy is great, but we can't merge every prop. Normally, only `className`, `style` and event handlers are safe to merge.
The only solution is to let other external props override the internal ones. This is normally okay since the internal props are usually just "defaults", or the user knows what they're doing.
The only solution is to let other external props override the internal ones. This is normally okay since the internal props are usually just "defaults", and users know what they're doing (most of the time, anyway!).
# What is the open/closed pattern?
Expand Down

0 comments on commit 321f856

Please sign in to comment.