@useloops/design-system
Version:
The official React based Loops design system
24 lines (21 loc) • 854 B
TypeScript
import * as react from 'react';
import { PropsWithChildren } from 'react';
import { SxProps, Theme, BoxProps } from '@mui/material';
import { AiWrittenByLockUpProps } from '../AIWrittenByLockUp/AiWrittenByLockUp.js';
interface AiContentContainerProps extends PropsWithChildren {
sx?: SxProps<Theme>;
withLockUp?: boolean;
aiButtonText?: string;
onUpvote?: () => void;
onDownvote?: () => void;
onCopy?: () => void;
onClickAIButton?: () => void;
ref?: React.Ref<HTMLDivElement>;
slotProps?: {
childrenContainer?: BoxProps;
aiWrittenByLockUp?: AiWrittenByLockUpProps;
};
}
declare const AiContentContainer: react.ForwardRefExoticComponent<Omit<AiContentContainerProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
export { AiContentContainer as default };
export type { AiContentContainerProps };