🐛 fix: Update Empty component to support border prop and adjust usage in various pages
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
export default function Empty({ description }: { description?: React.ReactNode }) {
|
||||
export default function Empty({
|
||||
description,
|
||||
border,
|
||||
}: {
|
||||
description?: React.ReactNode;
|
||||
border?: boolean;
|
||||
}) {
|
||||
return (
|
||||
<div className='flex flex-col items-center justify-center p-6 py-16'>
|
||||
<div
|
||||
className={`flex flex-col items-center justify-center p-6 py-16 ${border ? 'rounded-xl border' : ''}`}
|
||||
>
|
||||
<svg
|
||||
width='64'
|
||||
height='41'
|
||||
|
||||
Reference in New Issue
Block a user