{
defaultSort={{ name: 'email', order: 'asc' }}
>
- {virtualized ? (
-
- ) : (
-
- )}
+
);
};
-export default DataTableDemo;
+export { DataTableDemo, DataTableVirtualizedDemo };
diff --git a/apps/www/src/components/demo/demo-playground.tsx b/apps/www/src/components/demo/demo-playground.tsx
index 0fefbe869..7ef253f08 100644
--- a/apps/www/src/components/demo/demo-playground.tsx
+++ b/apps/www/src/components/demo/demo-playground.tsx
@@ -54,7 +54,8 @@ const getUpdatedProps = (
export default function DemoPlayground({
scope,
controls,
- getCode
+ getCode,
+ style
}: DemoPlaygroundProps) {
const searchParams = useSearchParams();
const router = useRouter();
@@ -98,7 +99,7 @@ export default function DemoPlayground({
return (
<>
-