File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
src/components/ComponentsSelection Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ export interface ComponentSelectionItem {
2626 versions : string [ ] ;
2727 isSelected : boolean ;
2828 selectedVersion : string ;
29+ documentationUrl : string ;
2930}
3031
3132export interface ComponentsSelectionProps {
@@ -113,9 +114,12 @@ export const ComponentsSelection: React.FC<ComponentsSelectionProps> = ({
113114 justifyContent = "SpaceBetween"
114115 alignItems = "Baseline"
115116 >
116- < Button design = "Transparent" >
117- { t ( 'common.documentation' ) }
118- </ Button >
117+ { /*This button will be implemented later*/ }
118+ { component . documentationUrl && (
119+ < Button design = "Transparent" >
120+ { t ( 'common.documentation' ) }
121+ </ Button >
122+ ) }
119123 < Select
120124 value = { component . selectedVersion }
121125 onChange = { handleVersionChange }
You can’t perform that action at this time.
0 commit comments