Reduce circular imports in UI components
This commit is contained in:
parent
b9c771a369
commit
e02ca0e0af
|
@ -2,7 +2,9 @@ import { shift, useFloating, Placement, offset, OffsetOptions } from '@floating-
|
|||
import clsx from 'clsx';
|
||||
import React, { useEffect, useState } from 'react';
|
||||
|
||||
import { Emoji as EmojiComponent, HStack, IconButton } from 'soapbox/components/ui';
|
||||
import EmojiComponent from 'soapbox/components/ui/emoji/emoji';
|
||||
import HStack from 'soapbox/components/ui/hstack/hstack';
|
||||
import IconButton from 'soapbox/components/ui/icon-button/icon-button';
|
||||
import EmojiPickerDropdown from 'soapbox/features/emoji/components/emoji-picker-dropdown';
|
||||
import { useClickOutside, useFeatures, useSoapboxConfig } from 'soapbox/hooks';
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
import React from 'react';
|
||||
|
||||
import { HStack, IconButton, Stack, Text } from 'soapbox/components/ui';
|
||||
import HStack from 'soapbox/components/ui/hstack/hstack';
|
||||
import IconButton from 'soapbox/components/ui/icon-button/icon-button';
|
||||
import Stack from 'soapbox/components/ui/stack/stack';
|
||||
import Text from 'soapbox/components/ui/text/text';
|
||||
|
||||
interface IWidgetTitle {
|
||||
/** Title text for the widget. */
|
||||
|
|
Loading…
Reference in New Issue