= (props) => {
result={() => result()}
buttons={['OK']}
buttonsNameMap={{ OK: 'Add to canvas' }}
- needMargin={false}
- >
+ needMargin={false}>
= (props) => {
value={filter}
onChange={(value) => onFilter(value)}
placeholder="Search by elements..."
+ inFocus={true}
/>
@@ -243,14 +241,12 @@ const TemplateDialog: FC = (props) => {
square={true}
key={groupName}
onChange={handleAccordionChange(groupName)}
- expanded={shouldGroupBeRended}
- >
+ expanded={shouldGroupBeRended}>
- }
- >
+ }>