Skip to content

Commit

Permalink
fix: change Tabs type
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-deriv committed Jan 18, 2023
1 parent 9673fe7 commit d9cc126
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 13 deletions.
26 changes: 13 additions & 13 deletions packages/components/src/components/tabs/tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,26 @@ import ThemedScrollbars from '../themed-scrollbars/themed-scrollbars';

type TTabsProps = RouteComponentProps &
React.PropsWithChildren<{
active_icon_color?: string;
active_icon_color: string;
active_index?: number;
background_color?: string;
bottom?: boolean;
center?: boolean;
background_color: string;
bottom: boolean;
center: boolean;
className?: string;
fit_content?: boolean;
fit_content: boolean;
has_active_line?: boolean;
has_bottom_line?: boolean;
header_fit_content: boolean;
history: History;
icon_color?: string;
icon_size?: number;
is_100vw?: boolean;
is_full_width?: boolean;
is_overflow_hidden?: boolean;
is_scrollable?: boolean;
icon_color: string;
icon_size: number;
is_100vw: boolean;
is_full_width: boolean;
is_overflow_hidden: boolean;
is_scrollable: boolean;
onTabItemClick: (active_tab_index: number) => void;
should_update_hash?: boolean;
single_tab_has_no_label?: boolean;
should_update_hash: boolean;
single_tab_has_no_label: boolean;
top: boolean;
}>;

Expand Down
13 changes: 13 additions & 0 deletions packages/reports/src/Containers/open-positions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,19 @@ const OpenPositions = ({
onTabItemClick={setActiveTabIndex}
top
header_fit_content={!isMobile()}
bottom={false}
active_icon_color={''}
background_color={''}
center={false}
fit_content={false}
icon_color={''}
icon_size={0}
is_100vw={false}
is_full_width={false}
is_overflow_hidden={false}
is_scrollable={false}
should_update_hash={false}
single_tab_has_no_label={false}
>
<div aria-label={localize('Options')}>
<OpenPositionsTable
Expand Down

0 comments on commit d9cc126

Please sign in to comment.