changed default type to secondary (#174)

This commit is contained in:
Erik Jan de Wit 2020-10-14 16:29:06 +02:00 committed by GitHub
parent 90779b6da4
commit 85b8f17f35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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}

View file

@ -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"