X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/434e46f35eea74f5defd2ca7d19e418f216c35e3..42c529f08bbeccaeb0d4c07f639c74504569c621:/src/components/side-panel/side-panel.tsx diff --git a/src/components/side-panel/side-panel.tsx b/src/components/side-panel/side-panel.tsx index 6a579e8c4e..ec648e11b2 100644 --- a/src/components/side-panel/side-panel.tsx +++ b/src/components/side-panel/side-panel.tsx @@ -10,6 +10,7 @@ import { List, ListItem, ListItemIcon, Collapse } from "@material-ui/core"; import { SidePanelRightArrowIcon, IconType } from '../icon/icon'; import * as classnames from "classnames"; import { ListItemTextIcon } from '../list-item-text-icon/list-item-text-icon'; +import { Dispatch } from "redux"; type CssRules = 'active' | 'row' | 'root' | 'list' | 'iconClose' | 'iconOpen' | 'toggableIconContainer' | 'toggableIcon'; @@ -33,7 +34,7 @@ const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ toggableIconContainer: { color: theme.palette.grey["700"], height: '14px', - position: 'absolute' + width: '14px' }, toggableIcon: { fontSize: '14px' @@ -58,6 +59,7 @@ export interface SidePanelItem { open?: boolean; margin?: boolean; openAble?: boolean; + activeAction?: (dispatch: Dispatch) => void; } interface SidePanelDataProps {