Skip to content

Commit

Permalink
Update header logo defaults (opensearch-project#580) (opensearch-proj…
Browse files Browse the repository at this point in the history
…ect#621)

Signed-off-by: Andrey Myssak <[email protected]>
Co-authored-by: Sergey Myssak <[email protected]>
Co-authored-by: Sean Neumann <[email protected]>
  • Loading branch information
3 people committed Apr 19, 2023
1 parent 3aba87d commit f5cd73a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions src/components/header/__snapshots__/header_logo.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ exports[`OuiHeaderLogo is rendered 1`] = `
rel="noreferrer"
>
<span
aria-label="Elastic"
aria-label="OpenSearch"
class="ouiHeaderLogo__icon"
data-ouiicon-type="logoElastic"
data-ouiicon-type="logoOpenSearch"
/>
</a>
`;
Expand All @@ -22,9 +22,9 @@ exports[`OuiHeaderLogo renders href 1`] = `
rel="noreferrer"
>
<span
aria-label="Elastic"
aria-label="OpenSearch"
class="ouiHeaderLogo__icon"
data-ouiicon-type="logoElastic"
data-ouiicon-type="logoOpenSearch"
/>
</a>
`;
Expand All @@ -36,9 +36,9 @@ exports[`OuiHeaderLogo renders href with rel 1`] = `
rel="noreferrer"
>
<span
aria-label="Elastic"
aria-label="OpenSearch"
class="ouiHeaderLogo__icon"
data-ouiicon-type="logoElastic"
data-ouiicon-type="logoOpenSearch"
/>
</a>
`;
Expand Down
4 changes: 2 additions & 2 deletions src/components/header/header_logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ export type OuiHeaderLogoProps = CommonProps &
};

export const OuiHeaderLogo: FunctionComponent<OuiHeaderLogoProps> = ({
iconType = 'logoElastic',
iconTitle = 'Elastic',
iconType = 'logoOpenSearch',
iconTitle = 'OpenSearch',
href,
rel,
target,
Expand Down

0 comments on commit f5cd73a

Please sign in to comment.