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) => (
|
{secondaryActions.map((action) => (
|
||||||
<Button
|
<Button
|
||||||
key={action.text}
|
key={action.text}
|
||||||
variant={action.type || ButtonVariant.primary}
|
variant={action.type || ButtonVariant.secondary}
|
||||||
onClick={action.onClick}
|
onClick={action.onClick}
|
||||||
>
|
>
|
||||||
{action.text}
|
{action.text}
|
||||||
|
|
|
@ -47,8 +47,8 @@ exports[`<ListEmptyState /> render 1`] = `
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
class="pf-c-button pf-m-primary"
|
class="pf-c-button pf-m-secondary"
|
||||||
data-ouia-component-id="OUIA-Generated-Button-primary-2"
|
data-ouia-component-id="OUIA-Generated-Button-secondary-1"
|
||||||
data-ouia-component-type="PF4/Button"
|
data-ouia-component-type="PF4/Button"
|
||||||
data-ouia-safe="true"
|
data-ouia-safe="true"
|
||||||
type="button"
|
type="button"
|
||||||
|
|
Loading…
Reference in a new issue