// FontAwesomeSvgIcon example from mui docs https://github.com/mui/material-ui/blob/master/docs/data/material/components/icons/FontAwesomeSvgIconDemo.js import * as React from 'react'; import { styled } from '@mui/material/styles'; import { Stack, StackProps } from '@availity/mui-layout'; import { EmptyStateImage, EmptyStateImageProps } from './EmptyStateImage'; const EmptyStateContainer = styled(Stack, { name: 'AvEmptyState', slot: 'root', overridesResolver: (props, styles) => styles.root, })({}); export type EmptyStateProps = StackProps & Pick; /** Container for Empty State image and message. */ export const EmptyState = React.forwardRef((props, ref) => { const { children, variant, spacing = 2, alignItems = 'center', textAlign = 'center', maxWidth = '320px', padding = '1rem', ...containerProps } = props; return ( {variant ? : null} {children} ); });