-
Notifications
You must be signed in to change notification settings - Fork 7
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
Ajoute ButtonGroup au design system #3207
Conversation
: { | ||
borderTopLeftRadius: 0, | ||
borderBottomLeftRadius: 0, | ||
borderLeft: 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ici si aucun activeButtonId
n'est renseigné, il n'y a pas de séparation entre les deux boutons
{...props} | ||
size={size} | ||
variant={activeButtonId === props.id ? 'primary' : 'outlined'} | ||
style={getButtonStyles(index)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Si un des boutons est disabled
, ça peut impacter le style de bordure du bouton d'à côté
|
||
type Props = { | ||
/** Listes de boutons à afficher avec leurs propriétés */ | ||
buttons: ButtonProps[]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
J'aurais plutôt utilisé DefaultButtonProps
pour éviter l'utilisation de liens sur les groupes de boutons
No description provided.