mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-16 16:35:05 -05:00
* feat(ui): salvaged gallery UI enhancements * restore boardimage functionality, load boardimages and remove some cachine optimizations in the name of data integrity * fix assets, fix load more params * jk NOW fix assets, fix load more params --------- Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local> Co-authored-by: Mary Hipp Rogers <maryhipp@gmail.com>
12 lines
353 B
TypeScript
12 lines
353 B
TypeScript
import { Box, FlexProps, forwardRef } from '@chakra-ui/react';
|
|
import { PropsWithChildren } from 'react';
|
|
|
|
type ItemContainerProps = PropsWithChildren & FlexProps;
|
|
const ItemContainer = forwardRef((props: ItemContainerProps, ref) => (
|
|
<Box className="item-container" ref={ref} p={1.5}>
|
|
{props.children}
|
|
</Box>
|
|
));
|
|
|
|
export default ItemContainer;
|