File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ type ProductLinkButtonProps = {
1515 url : string ;
1616 size ?: 'default' | 'small' ;
1717 fullwidth ?: boolean ;
18+ fullWidthText ?: boolean ;
1819 priority ?: ButtonPriority ;
1920 dataComponent ?: string ;
2021 minimisePadding ?: boolean ;
@@ -54,6 +55,7 @@ export const ProductLinkButton = ({
5455 size = 'default' ,
5556 fullwidth = false ,
5657 minimisePadding = false ,
58+ fullWidthText = false ,
5759 priority = 'primary' ,
5860 dataComponent,
5961} : ProductLinkButtonProps ) => {
@@ -81,6 +83,7 @@ export const ProductLinkButton = ({
8183 cssOverrides = { cssOverrides }
8284 >
8385 < span
86+ style = { fullWidthText ? { width : '100%' } : { } }
8487 css = { css `
8588 text-wrap : balance;
8689 text-align : center;
You can’t perform that action at this time.
0 commit comments