index.ts 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. "use client";
  2. export type { ComponentRenderProps, ComponentRegistry } from "./types";
  3. export { useInteractiveState } from "./utils";
  4. export { Alert } from "./alert";
  5. export { Avatar } from "./avatar";
  6. export { Badge } from "./badge";
  7. export { Button } from "./button";
  8. export { Card } from "./card";
  9. export { Checkbox } from "./checkbox";
  10. export { Divider } from "./divider";
  11. export { Fallback } from "./fallback";
  12. export { Form } from "./form";
  13. export { Grid } from "./grid";
  14. export { Heading } from "./heading";
  15. export { Image } from "./image";
  16. export { Input } from "./input";
  17. export { Link } from "./link";
  18. export { Progress } from "./progress";
  19. export { Radio } from "./radio";
  20. export { Rating } from "./rating";
  21. export { Select } from "./select";
  22. export { Stack } from "./stack";
  23. export { Switch } from "./switch";
  24. export { Text } from "./text";
  25. export { Textarea } from "./textarea";
  26. import type { ComponentRegistry } from "./types";
  27. import { Alert } from "./alert";
  28. import { Avatar } from "./avatar";
  29. import { Badge } from "./badge";
  30. import { Button } from "./button";
  31. import { Card } from "./card";
  32. import { Checkbox } from "./checkbox";
  33. import { Divider } from "./divider";
  34. import { Fallback } from "./fallback";
  35. import { Form } from "./form";
  36. import { Grid } from "./grid";
  37. import { Heading } from "./heading";
  38. import { Image } from "./image";
  39. import { Input } from "./input";
  40. import { Link } from "./link";
  41. import { Progress } from "./progress";
  42. import { Radio } from "./radio";
  43. import { Rating } from "./rating";
  44. import { Select } from "./select";
  45. import { Stack } from "./stack";
  46. import { Switch } from "./switch";
  47. import { Text } from "./text";
  48. import { Textarea } from "./textarea";
  49. export const demoRegistry: ComponentRegistry = {
  50. Alert,
  51. Avatar,
  52. Badge,
  53. Button,
  54. Card,
  55. Checkbox,
  56. Divider,
  57. Form,
  58. Grid,
  59. Heading,
  60. Image,
  61. Input,
  62. Link,
  63. Progress,
  64. Radio,
  65. Rating,
  66. Select,
  67. Stack,
  68. Switch,
  69. Text,
  70. Textarea,
  71. };
  72. export const fallbackComponent = Fallback;