File tree Expand file tree Collapse file tree 5 files changed +11
-7
lines changed
plugin-hrm-form/src/components
resources/mappingComponents/khpMappings Expand file tree Collapse file tree 5 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ const CallTypeButtons: React.FC<Props> = ({
170170 marginRight = { i % 2 === 0 }
171171 disabled = { loadingStatus === LoadingStatus . LOADING }
172172 >
173- { callType . label }
173+ < Template code = { callType . label } />
174174 </ NonDataCallTypeButton >
175175 ) ) }
176176 </ Box >
Original file line number Diff line number Diff line change @@ -70,8 +70,8 @@ type NonDataCallTypeButtonProps = {
7070export const NonDataCallTypeButton = styled ( Button ) < NonDataCallTypeButtonProps > `
7171 white-space: normal;
7272 width: 140px;
73- height: 44px;
74- margin-bottom: 10px ;
73+ min- height: 44px;
74+ padding: 0 ;
7575 display: inline-flex;
7676 align-items: center;
7777 justify-content: center;
Original file line number Diff line number Diff line change 1515 */
1616import React from 'react' ;
1717import { CategoryEntry } from 'hrm-form-definitions' ;
18+ import { Template } from '@twilio/flex-ui' ;
1819
1920import {
2021 SubcategoriesWrapper ,
@@ -56,7 +57,7 @@ const createSubcategoryCheckbox = (
5657 checked = { selected }
5758 data-testid = { `categories.${ category } .${ label } ` }
5859 />
59- { label }
60+ < Template code = { label } />
6061 </ CategoryCheckboxField >
6162 </ CategoryCheckboxLabel >
6263 { toolkitUrl && (
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const ArrowDownIcon = ContactDetailsIcon(ArrowDropDownTwoTone);
3131const ArrowUpIcon = ContactDetailsIcon ( ArrowDropUpTwoTone ) ;
3232
3333type MyProps = {
34- sectionTitle : string | JSX . Element ;
34+ sectionTitle : string ;
3535 color ?: string ;
3636 expanded : boolean ;
3737 handleExpandClick : ( event ?: any ) => void ;
@@ -67,7 +67,9 @@ const Section: React.FC<MyProps> = ({
6767 onClick = { handleExpandClick }
6868 data-testid = { buttonDataTestid }
6969 >
70- < SectionTitleText > { sectionTitle } </ SectionTitleText >
70+ < SectionTitleText >
71+ < Template code = { sectionTitle } />
72+ </ SectionTitleText >
7173 { ! hideIcon && ( expanded ? < ArrowUpIcon /> : < ArrowDownIcon /> ) }
7274 </ SectionTitleButton >
7375 { showEditButton && (
Original file line number Diff line number Diff line change @@ -189,7 +189,8 @@ const ResourceSearchFilters: React.FC<{}> = () => {
189189 ) ;
190190 } }
191191 />
192- { label ?? value }
192+
193+ < Template code = { label ?? value } />
193194 </ FormLabel >
194195 </ Grid >
195196 ) ) }
You can’t perform that action at this time.
0 commit comments