first commit
This commit is contained in:
16
src/common/components/display/table/TableEmpty.tsx
Normal file
16
src/common/components/display/table/TableEmpty.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Table Empty 컴포넌트
|
||||
*
|
||||
* 데이터가 없을 때 표시되는 컴포넌트
|
||||
*/
|
||||
export interface TableEmptyProps {
|
||||
text?: string;
|
||||
}
|
||||
|
||||
export function TableEmpty({ text }: TableEmptyProps) {
|
||||
return (
|
||||
<div style={{ padding: 12, textAlign: "center", color: "#888" }}>
|
||||
{text ?? "데이터가 없습니다."}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user