a tool for shared writing and social publishing
at update/looseleafs 17 lines 360 B view raw
1export const EmptyState = (props: { 2 children: React.ReactNode; 3 className?: string; 4}) => { 5 return ( 6 <div 7 className={` 8 flex flex-col gap-2 justify-between 9 container bg-[rgba(var(--bg-page),.7)] 10 sm:p-4 p-3 mt-2 11 text-center text-tertiary 12 ${props.className}`} 13 > 14 {props.children} 15 </div> 16 ); 17};