import type { SystemStyleObject } from '@invoke-ai/ui-library';
import { Flex, Heading } from '@invoke-ai/ui-library';
import type { PropsWithChildren } from 'react';
import { memo } from 'react';
type StickyScrollableHeadingProps = {
title: string;
sx?: SystemStyleObject;
};
const StickyScrollableHeading = memo((props: StickyScrollableHeadingProps) => {
return (
{props.title}
);
});
StickyScrollableHeading.displayName = 'StickyScrollableHeading';
type StickyScrollableContentProps = PropsWithChildren<{ sx?: SystemStyleObject }>;
const StickyScrollableContent = memo((props: StickyScrollableContentProps) => {
return (
{props.children}
);
});
StickyScrollableContent.displayName = 'StickyScrollableContent';
type StickyScrollableProps = PropsWithChildren<{
title: string;
headingSx?: SystemStyleObject;
contentSx?: SystemStyleObject;
}>;
export const StickyScrollable = memo((props: StickyScrollableProps) => {
return (
{props.children}
);
});
StickyScrollable.displayName = 'StickyScrollable';