X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/9c2c8aa06d5693a6e2b00e1d8ec0a8ca79098ce0..770ffecbecc120d200bebaaf4606dfc055c64008:/src/views/link-panel/link-panel-root.tsx?ds=sidebyside diff --git a/src/views/link-panel/link-panel-root.tsx b/src/views/link-panel/link-panel-root.tsx index 7a5f0503..b32208cd 100644 --- a/src/views/link-panel/link-panel-root.tsx +++ b/src/views/link-panel/link-panel-root.tsx @@ -11,10 +11,20 @@ import { DataTableDefaultView } from 'components/data-table-default-view/data-ta import { ResourcesState } from 'store/resources/resources'; import { ShareMeIcon } from 'components/icon/icon'; import { createTree } from 'models/tree'; -import { - ResourceLinkUuid, ResourceLinkHead, ResourceLinkTail, - ResourceLinkClass, ResourceLinkName } +import { + ResourceLinkUuid, ResourceLinkHead, ResourceLinkTail, + ResourceLinkClass, ResourceLinkName } from 'views-components/data-explorer/renderers'; +import { StyleRulesCallback, WithStyles, withStyles } from '@material-ui/core'; +import { ArvadosTheme } from 'common/custom-theme'; + +type CssRules = "root"; + +const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ + root: { + width: '100%', + } +}); export enum LinkPanelColumnNames { NAME = "Name", @@ -73,20 +83,20 @@ export interface LinkPanelRootActionProps { onItemDoubleClick: (item: string) => void; } -export type LinkPanelRootProps = LinkPanelRootDataProps & LinkPanelRootActionProps; +export type LinkPanelRootProps = LinkPanelRootDataProps & LinkPanelRootActionProps & WithStyles; -export const LinkPanelRoot = (props: LinkPanelRootProps) => { - return { + return
- }/>; -}; \ No newline at end of file + }/>
; +}); \ No newline at end of file