mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-17 10:06:17 +08:00
feat: bump more deps (#14079)
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import type { HTMLAttributes, ReactNode } from 'react';
|
||||
|
||||
export interface EmptyLayoutProps
|
||||
extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
||||
export interface EmptyLayoutProps extends Omit<
|
||||
HTMLAttributes<HTMLDivElement>,
|
||||
'title'
|
||||
> {
|
||||
illustrationLight: string;
|
||||
illustrationDark?: string;
|
||||
illustrationWidth?: number | string;
|
||||
|
||||
@@ -4,8 +4,10 @@ import type { HTMLAttributes } from 'react';
|
||||
import { MemberItem } from './item';
|
||||
import * as styles from './styles.css';
|
||||
|
||||
interface InlineMemberListProps
|
||||
extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
||||
interface InlineMemberListProps extends Omit<
|
||||
HTMLAttributes<HTMLDivElement>,
|
||||
'onChange'
|
||||
> {
|
||||
members: string[];
|
||||
focusedIndex?: number;
|
||||
onRemove?: (id: string) => void;
|
||||
|
||||
@@ -108,8 +108,10 @@ export const ConfigRow = forwardRef<HTMLDivElement, HTMLProps<HTMLDivElement>>(
|
||||
}
|
||||
);
|
||||
|
||||
export interface SettingGroupProps
|
||||
extends Omit<HTMLProps<HTMLDivElement>, 'title'> {
|
||||
export interface SettingGroupProps extends Omit<
|
||||
HTMLProps<HTMLDivElement>,
|
||||
'title'
|
||||
> {
|
||||
title?: ReactNode;
|
||||
contentClassName?: string;
|
||||
contentStyle?: CSSProperties;
|
||||
|
||||
@@ -4,8 +4,10 @@ import * as styles from './inline-tag-list.css';
|
||||
import { TagItem } from './tag';
|
||||
import type { TagLike } from './types';
|
||||
|
||||
interface InlineTagListProps
|
||||
extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
||||
interface InlineTagListProps extends Omit<
|
||||
HTMLAttributes<HTMLDivElement>,
|
||||
'onChange'
|
||||
> {
|
||||
onRemoved?: (id: string) => void;
|
||||
tags: TagLike[];
|
||||
tagMode: 'inline-tag' | 'db-label';
|
||||
|
||||
Reference in New Issue
Block a user