UNPKG

@wix/design-system

Version:

@wix/design-system

39 lines 1.24 kB
import React from 'react'; import { FillPreviewProps } from '../FillPreview.types'; export declare const useStyledContent: ({ contentClassName, disabled, fill, }: Pick<FillPreviewProps, "contentClassName" | "disabled" | "fill">) => { children?: undefined; contentClassName?: undefined; style?: undefined; } | { children: React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>>; contentClassName?: undefined; style?: undefined; } | { contentClassName: string; children?: undefined; style?: undefined; } | { contentClassName: string; style: {}; children: React.JSX.Element[]; } | { contentClassName: string; style: { backgroundImage: string; backgroundSize: string; backgroundPosition: string; backgroundRepeat: string; } | { backgroundImage: string; backgroundSize?: undefined; backgroundPosition?: undefined; backgroundRepeat?: undefined; } | { backgroundImage?: undefined; backgroundSize?: undefined; backgroundPosition?: undefined; backgroundRepeat?: undefined; }; children?: undefined; }; //# sourceMappingURL=useStyledContent.d.ts.map