Skip to content

Commit

Permalink
fix: import Icon, Toolbar from relative path (#692)
Browse files Browse the repository at this point in the history
  • Loading branch information
wewoor authored Mar 4, 2022
1 parent 65dfac6 commit a95fbe2
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/components/collapse/index.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import React, { useLayoutEffect, useMemo, useRef, useState } from 'react';

import { classNames } from 'mo/common/className';
import { isEqual } from 'lodash';
import { HTMLElementProps, UniqueId } from 'mo/common/types';
import React, { useLayoutEffect, useMemo, useRef, useState } from 'react';
import { IActionBarItemProps, Icon, Toolbar } from '..';
import SplitPane, { ResizeStratygy } from '../split/SplitPane';
import { getDataAttributionsFromProps } from 'mo/common/dom';

import {
collapseActiveClassName,
collapseContentClassName,
Expand All @@ -15,8 +16,12 @@ import {
collapsingClassName,
defaultCollapseClassName,
} from './base';
import { getDataAttributionsFromProps } from 'mo/common/dom';

import { Pane } from '../split';
import { IActionBarItemProps } from '../actionBar';
import { Icon } from '../icon';
import { Toolbar } from '../toolbar';
import SplitPane, { ResizeStratygy } from '../split/SplitPane';

type RenderFunctionProps = (data: ICollapseItem) => React.ReactNode;
export interface ICollapseItem extends HTMLElementProps {
Expand Down

0 comments on commit a95fbe2

Please sign in to comment.