refactor: empty state for cuesheet

This commit is contained in:
Carlos Valente
2025-07-16 20:56:35 +02:00
committed by Carlos Valente
parent 9618bec847
commit 90105a199a
4 changed files with 45 additions and 2 deletions
@@ -11,8 +11,7 @@ interface EmptyProps {
className?: string;
}
export default function Empty(props: EmptyProps) {
const { text, className, ...rest } = props;
export default function Empty({ text, className, ...rest }: EmptyProps) {
return (
<div className={cx([style.emptyContainer, className])} {...rest}>
<EmptyImage className={style.empty} />