Home > @uniformdev/mesh-sdk-react > SelectedItemProps

SelectedItemProps type

Signature:

type SelectedItemProps<TExtraProps = unknown> = {
    id: string;
    title: string;
    contentType?: string | string[];
    createdAt?: TDate;
    imageUrl?: string;
    editLinkIcon?: string | React.ComponentType<{
        className?: string;
    }>;
    editLink?: string;
    publishedAt?: TDate;
    publishStatus?: {
        text: string;
        theme?: BadgeThemeProps;
    };
    metadata?: Record<string, string>;
    popoverData?: ReactNode;
    disableDnD?: boolean;
} & TExtraProps;

References: BadgeThemeProps