Spaces:
Configuration error
Configuration error
Download web/apps/labelstudio/src/components/EmptyState/EmptyState.jsx from bisalsaha/lebel-studio: direct link, hf CLI and curl.
- Browser
- Download file 774 Bytes
-
https://huggingface.co/spaces/bisalsaha/lebel-studio/resolve/main/web/apps/labelstudio/src/components/EmptyState/EmptyState.jsx
- Command line
-
hf download hf://spaces/bisalsaha/lebel-studio/web/apps/labelstudio/src/components/EmptyState/EmptyState.jsx
-
curl -L -o EmptyState.jsx https://huggingface.co/spaces/bisalsaha/lebel-studio/resolve/main/web/apps/labelstudio/src/components/EmptyState/EmptyState.jsx
774 Bytes
| import { cn } from "../../utils/bem"; | |
| import "./EmptyState.prefix.css"; | |
| export const EmptyState = ({ icon, title, description, action, footer }) => { | |
| return ( | |
| <div className={cn("empty-state-default").toClassName()}> | |
| {icon && <div className={cn("empty-state-default").elem("icon").toClassName()}>{icon}</div>} | |
| {title && <div className={cn("empty-state-default").elem("title").toClassName()}>{title}</div>} | |
| {description && <div className={cn("empty-state-default").elem("description").toClassName()}>{description}</div>} | |
| {action && <div className={cn("empty-state-default").elem("action").toClassName()}>{action}</div>} | |
| {footer && <div className={cn("empty-state-default").elem("footer").toClassName()}>{footer}</div>} | |
| </div> | |
| ); | |
| }; | |