Skip to content

Commit

Permalink
Expose actions label props on Page component
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandroliynyk committed Sep 25, 2023
1 parent 924384f commit 0e14696
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ export interface PageProps {
* When there are 3 or more, the first one is displayed and the rest will be displayed in a dropdown.
*/
actions?: RemoteFragment;

/**
* The label to be used in the dropdown that contains the actions when ther are 3 or more actions.
* Optional.
* Defaults to "More actions".
*/
actionsLabel?: string;
}

export const Page = createRemoteComponent<'Page', PageProps>('Page');

0 comments on commit 0e14696

Please sign in to comment.