changed default type to secondary (#174)
This commit is contained in:
parent
90779b6da4
commit
85b8f17f35
2 changed files with 3 additions and 3 deletions
|
@ -47,7 +47,7 @@ export const ListEmptyState = ({
|
|||
{secondaryActions.map((action) => (
|
||||
<Button
|
||||
key={action.text}
|
||||
variant={action.type || ButtonVariant.primary}
|
||||
variant={action.type || ButtonVariant.secondary}
|
||||
onClick={action.onClick}
|
||||
>
|
||||
{action.text}
|
||||
|
|
|
@ -47,8 +47,8 @@ exports[`<ListEmptyState /> render 1`] = `
|
|||
>
|
||||
<button
|
||||
aria-disabled="false"
|
||||
class="pf-c-button pf-m-primary"
|
||||
data-ouia-component-id="OUIA-Generated-Button-primary-2"
|
||||
class="pf-c-button pf-m-secondary"
|
||||
data-ouia-component-id="OUIA-Generated-Button-secondary-1"
|
||||
data-ouia-component-type="PF4/Button"
|
||||
data-ouia-safe="true"
|
||||
type="button"
|
||||
|
|
Loading…
Reference in a new issue