@useloops/design-system
Version:
The official React based Loops design system
30 lines (27 loc) • 1.05 kB
TypeScript
import { FunctionComponent, ReactNode } from 'react';
import { EmojiWrapperProps } from '../../WebCore/EmojiWrapper/EmojiWrapper.js';
import { TypographyProps } from '../../WebCore/Typography/Typography.js';
import { IconButtonProps } from '../../WebCore/IconButton/IconButton.js';
import { SurfaceProps } from '../../WebCore/Surface/Surface.js';
interface EmojiQuestionEditorOptionProps {
icon?: React.ReactNode | undefined;
label?: string;
id?: string;
name?: string;
disabled?: boolean;
loading?: boolean;
dragHandle?: boolean;
onDelete?: () => void;
primaryAction?: ReactNode;
slotProps?: {
surface?: SurfaceProps;
icon?: EmojiWrapperProps;
dragHandle?: IconButtonProps;
label?: TypographyProps;
deleteAction?: IconButtonProps;
primaryAction?: IconButtonProps;
};
}
declare const EmojiQuestionEditorOption: FunctionComponent<EmojiQuestionEditorOptionProps>;
export { EmojiQuestionEditorOption as default };
export type { EmojiQuestionEditorOptionProps };