Skip to content
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

Bump for release 2.8.0 #534

Merged
merged 1 commit into from
Dec 21, 2024
Merged

Bump for release 2.8.0 #534

merged 1 commit into from
Dec 21, 2024

Conversation

isacoder
Copy link
Collaborator

@isacoder isacoder commented Dec 21, 2024

Description

Features

  • UtilityHeader: Developers can now set custom labels for the back and share buttons.
    The following props have been removed and need to be replaced:

    • backLink
    • showShareLink
    • shareLink

    These have been replaced with two new object props: back and share, as detailed below:

    Back button configuration:
    Replace backLink with the back object:

   back = {  
    link: '/example',   // Replaces backLink  
    label: 'Back'       // Optional, useful for localization overrides  
   }
  Share button configuration:
  Replace `shareLink` with the `share` object:
share = {  
  link: true,              // Replaces shareLink  
  label: 'Share'           // Optional, useful for localization overrides  
  copiedLabel: 'Copied.'   // Shown after clicking, optional for localization overrides  
}

For more details, see the PR #530.

  • Icons
    • GroupCollapse
    • GroupExpand

@isacoder isacoder merged commit 1487595 into main Dec 21, 2024
1 check passed
@isacoder isacoder deleted the release/v2.8.0 branch December 21, 2024 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant