+ Click the button to toggle the full-screen loading overlay +
+ + {isLoading &&diff --git a/README.md b/README.md index aff6270..c016605 100644 --- a/README.md +++ b/README.md @@ -8,23 +8,25 @@ A **Pagination Table** & **Scroll List** component suite for [CRUD operation][1] ## Components -1. [Badge Bar](https://mobx-restful-shadcn.idea2.app/) -2. [Badge Input](https://mobx-restful-shadcn.idea2.app/) -3. [Image Preview](https://mobx-restful-shadcn.idea2.app/) -4. [File Preview](https://mobx-restful-shadcn.idea2.app/) -5. [File Picker](https://mobx-restful-shadcn.idea2.app/) -6. [File Uploader](https://mobx-restful-shadcn.idea2.app/) -7. [Form Field](https://mobx-restful-shadcn.idea2.app/) -8. [Range Input](https://mobx-restful-shadcn.idea2.app/) -9. [Array Field](https://mobx-restful-shadcn.idea2.app/) -10. [REST Form](https://mobx-restful-shadcn.idea2.app/) -11. [REST Form Modal](https://mobx-restful-shadcn.idea2.app/) -12. [Pager](https://mobx-restful-shadcn.idea2.app/) -13. [REST Table](https://mobx-restful-shadcn.idea2.app/) -14. [Scroll Boundary](https://mobx-restful-shadcn.idea2.app/) -15. [Scroll List](https://mobx-restful-shadcn.idea2.app/) -16. [Searchable Input](https://mobx-restful-shadcn.idea2.app/) -17. [Editor](https://mobx-restful-shadcn.idea2.app/) +1. [Spinner](https://mobx-restful-shadcn.idea2.app/r/spinner.json) +2. [Loading](https://mobx-restful-shadcn.idea2.app/r/loading.json) +3. [Badge Bar](https://mobx-restful-shadcn.idea2.app/r/badge-bar.json) +4. [Badge Input](https://mobx-restful-shadcn.idea2.app/r/badge-input.json) +5. [Image Preview](https://mobx-restful-shadcn.idea2.app/r/image-preview.json) +6. [File Preview](https://mobx-restful-shadcn.idea2.app/r/file-preview.json) +7. [File Picker](https://mobx-restful-shadcn.idea2.app/r/file-picker.json) +8. [File Uploader](https://mobx-restful-shadcn.idea2.app/r/file-uploader.json) +9. [Form Field](https://mobx-restful-shadcn.idea2.app/r/form-field.json) +10. [Range Input](https://mobx-restful-shadcn.idea2.app/r/range-input.json) +11. [Array Field](https://mobx-restful-shadcn.idea2.app/r/array-field.json) +12. [REST Form](https://mobx-restful-shadcn.idea2.app/r/rest-form.json) +13. [REST Form Modal](https://mobx-restful-shadcn.idea2.app/r/rest-form-modal.json) +14. [Pager](https://mobx-restful-shadcn.idea2.app/r/pager.json) +15. [REST Table](https://mobx-restful-shadcn.idea2.app/r/rest-table.json) +16. [Scroll Boundary](https://mobx-restful-shadcn.idea2.app/r/scroll-boundary.json) +17. [Scroll List](https://mobx-restful-shadcn.idea2.app/r/scroll-list.json) +18. [Searchable Input](https://mobx-restful-shadcn.idea2.app/r/searchable-input.json) +19. [Editor](https://mobx-restful-shadcn.idea2.app/r/editor.json) ## Installation diff --git a/app/page.tsx b/app/page.tsx index bb5140a..37d94ff 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -7,11 +7,13 @@ import { FilePickerExample } from "@/registry/new-york/blocks/file-picker/exampl import { FilePreviewExample } from "@/registry/new-york/blocks/file-preview/example"; import { FormFieldExample } from "@/registry/new-york/blocks/form-field/example"; import { ImagePreviewExample } from "@/registry/new-york/blocks/image-preview/example"; +import { LoadingExample } from "@/registry/new-york/blocks/loading/example"; import { PagerExample } from "@/registry/new-york/blocks/pager/example"; import { RangeInputExample } from "@/registry/new-york/blocks/range-input/example"; import { RestTableExample } from "@/registry/new-york/blocks/rest-table/example"; import { ScrollBoundaryExample } from "@/registry/new-york/blocks/scroll-boundary/example"; import { ScrollListExample } from "@/registry/new-york/blocks/scroll-list/example"; +import { SpinnerExample } from "@/registry/new-york/blocks/spinner/example"; export default function Home() { return ( @@ -25,6 +27,20 @@ export default function Home() {
+ Click the button to toggle the full-screen loading overlay +
+ + {isLoading &&