@@ -294,6 +310,7 @@ const DesignPicker: React.FC< DesignPickerProps > = ( {
export interface UnifiedDesignPickerProps {
locale: string;
+ onDesignWithAI?: () => void;
onPreview: ( design: Design, variation?: StyleVariation ) => void;
onChangeVariation: ( design: Design, variation?: StyleVariation ) => void;
onViewAllDesigns: () => void;
@@ -309,10 +326,12 @@ export interface UnifiedDesignPickerProps {
isTierFilterEnabled?: boolean;
isMultiFilterEnabled?: boolean;
onChangeTier?: ( value: boolean ) => void;
+ isBigSkyEligible?: boolean;
}
const UnifiedDesignPicker: React.FC< UnifiedDesignPickerProps > = ( {
locale,
+ onDesignWithAI,
onPreview,
onChangeVariation,
onViewAllDesigns,
@@ -328,6 +347,7 @@ const UnifiedDesignPicker: React.FC< UnifiedDesignPickerProps > = ( {
isTierFilterEnabled = false,
isMultiFilterEnabled = false,
onChangeTier,
+ isBigSkyEligible = false,
} ) => {
const hasCategories = !! Object.keys( categorization?.categories || {} ).length;
@@ -351,6 +371,7 @@ const UnifiedDesignPicker: React.FC< UnifiedDesignPickerProps > = ( {
= ( {
isTierFilterEnabled={ isTierFilterEnabled }
isMultiFilterEnabled={ isMultiFilterEnabled }
onChangeTier={ onChangeTier }
+ isBigSkyEligible={ isBigSkyEligible }
/>
{ bottomAnchorContent }