mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
feat: forced file naming format (#2270)
This commit is contained in:
@@ -12,7 +12,7 @@ import {
|
||||
menuItemStyle,
|
||||
svgStyle,
|
||||
} from './index.css';
|
||||
import type { ShareMenuProps } from './ShareMenu';
|
||||
import type { ShareMenuProps } from './share-menu';
|
||||
|
||||
export const Export: FC<ShareMenuProps> = props => {
|
||||
const contentParserRef = useRef<ContentParser>();
|
||||
@@ -1,2 +1,2 @@
|
||||
export * from './disable-public-link';
|
||||
export * from './ShareMenu';
|
||||
export * from './share-menu';
|
||||
|
||||
@@ -7,10 +7,10 @@ import { useRef } from 'react';
|
||||
import { useCallback, useState } from 'react';
|
||||
|
||||
import { Menu } from '../..';
|
||||
import { Export } from './Export';
|
||||
import { Export } from './export';
|
||||
import { containerStyle, indicatorContainerStyle, tabStyle } from './index.css';
|
||||
import { SharePage } from './SharePage';
|
||||
import { ShareWorkspace } from './ShareWorkspace';
|
||||
import { SharePage } from './share-page';
|
||||
import { ShareWorkspace } from './share-workspace';
|
||||
import { StyledIndicator, StyledShareButton, TabItem } from './styles';
|
||||
type SharePanel = 'SharePage' | 'Export' | 'ShareWorkspace';
|
||||
const MenuItems: Record<SharePanel, FC<ShareMenuProps>> = {
|
||||
@@ -15,7 +15,7 @@ import {
|
||||
inputButtonRowStyle,
|
||||
menuItemStyle,
|
||||
} from './index.css';
|
||||
import type { ShareMenuProps } from './ShareMenu';
|
||||
import type { ShareMenuProps } from './share-menu';
|
||||
import {
|
||||
StyledButton,
|
||||
StyledDisableButton,
|
||||
@@ -4,7 +4,7 @@ import { WorkspaceFlavour } from '@affine/workspace/type';
|
||||
import type { FC } from 'react';
|
||||
|
||||
import { descriptionStyle, menuItemStyle } from './index.css';
|
||||
import type { ShareMenuProps } from './ShareMenu';
|
||||
import type { ShareMenuProps } from './share-menu';
|
||||
import { StyledButton } from './styles';
|
||||
|
||||
const ShareLocalWorkspace: FC<ShareMenuProps<LocalWorkspace>> = props => {
|
||||
Reference in New Issue
Block a user