Skip to content

Commit

Permalink
[ButtonGroup] Update variant plain prop name (#10222)
Browse files Browse the repository at this point in the history
### WHAT is this pull request doing?

Update `ButtonGroup` variant styles to match the changes from
#10090

### How to 🎩

Check that this story is getting the plain button group item variant

|Next branch|This PR|Production|
|-|-|-|
|<img width="321" alt="Screenshot 2023-08-24 at 2 36 27 PM"
src="https://github.com/Shopify/polaris/assets/20652326/54bff50b-f4b1-4540-a891-7f3c4a7afaf7">|<img
width="306" alt="Screenshot 2023-08-24 at 2 37 27 PM"
src="https://github.com/Shopify/polaris/assets/20652326/3dd5578e-51ad-4469-82fe-61db3440b936">|<img
width="303" alt="Screenshot 2023-08-24 at 2 37 12 PM"
src="https://github.com/Shopify/polaris/assets/20652326/7141b6a8-9589-4746-a7d7-eb9229a6c61d">|
  • Loading branch information
sophschneider authored Aug 24, 2023
1 parent e814c0e commit 039578a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function Item({button}: ItemProps) {
const className = classNames(
styles.Item,
focused && styles['Item-focused'],
button.props.plain && styles['Item-plain'],
button.props.variant === 'plain' && styles['Item-plain'],
);

return (
Expand Down

0 comments on commit 039578a

Please sign in to comment.