File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
src/stories/Library/search-result-page Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 77 // Placeholders with the same ids are connected.
88 "Dpl-design-system functional component" : {
99 "scope" : " typescriptreact" ,
10- "prefix" : " fcdplreact " ,
10+ "prefix" : " fcdpldesign " ,
1111 "body" : [
12- " import * as React from \" react\" ;" ,
1312 " import { FC } from \" react\" ;" ,
1413 " " ,
15- " export interface ${1:component }Props {}" ,
14+ " export interface ${1:${TM_FILENAME_BASE/(.*)/${1:/pascalcase}/} }Props {}" ,
1615 " " ,
17- " const ${1:component }: FC<${1:component }Props> = ({}) => {" ,
16+ " const ${1}: FC<${1}Props> = ({}) => {" ,
1817 " return (" ,
1918 " <>" ,
2019 " Hello" ,
2120 " </>" ,
2221 " );" ,
2322 " };" ,
2423 " " ,
25- " export default ${1:component };"
24+ " export default ${1};"
2625 ],
2726 "description" : " Creates a skeleton for a new functional component in dpl-design-system style"
2827 },
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ const FacetLine: FC<FacetLineProps> = ({ items }) => {
3434 < li className = "facet-line__item" >
3535 < Dropdown
3636 ariaLabel = "Choose periodical year"
37- list = { terms }
37+ list = { [ { title } , ... terms ] }
3838 arrowIcon = "chevron"
3939 classNames = "dropdown--grey-borders"
4040 />
You can’t perform that action at this time.
0 commit comments