X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/97de0bf90660e72220f350483981e35d53a5998f..46751b9305a7e991d484494facd1f40790254d40:/src/components/details-attribute/details-attribute.tsx diff --git a/src/components/details-attribute/details-attribute.tsx b/src/components/details-attribute/details-attribute.tsx index 78b4341d..d255d14b 100644 --- a/src/components/details-attribute/details-attribute.tsx +++ b/src/components/details-attribute/details-attribute.tsx @@ -48,17 +48,22 @@ interface DetailsAttributeDataProps { lowercaseValue?: boolean; link?: string; children?: React.ReactNode; + onValueClick?: () => void; } type DetailsAttributeProps = DetailsAttributeDataProps & WithStyles; export const DetailsAttribute = withStyles(styles)( - ({ label, link, value, children, classes, classLabel, classValue, lowercaseValue }: DetailsAttributeProps) => + ({ label, link, value, children, classes, classLabel, classValue, lowercaseValue, onValueClick }: DetailsAttributeProps) => {label} { link ? {value} - : + : {value} {children} }