File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
docs/docs/reference/dashboard/list-views
packages/dashboard/src/lib/components/data-table Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -71,14 +71,15 @@ interface DataTableBulkActionItemProps {
7171
7272## DataTableBulkActionItem
7373
74- <GenerationInfo sourceFile =" packages/dashboard/src/lib/components/data-table/data-table-bulk-action-item.tsx " sourceLine =" 66 " packageName =" @vendure/dashboard " since =" 3.4.0 " />
74+ <GenerationInfo sourceFile =" packages/dashboard/src/lib/components/data-table/data-table-bulk-action-item.tsx " sourceLine =" 67 " packageName =" @vendure/dashboard " since =" 3.4.0 " />
7575
7676A component that should be used to implement any bulk actions for list pages & data tables.
7777
7878* Example*
7979
8080``` tsx
81- import { DataTableBulkActionItem , Trans } from ' @vendure/dashboard' ;
81+ import { Trans } from ' @lingui/react/macro' ;
82+ import { DataTableBulkActionItem , BulkActionComponent } from ' @vendure/dashboard' ;
8283import { Check } from ' lucide-react' ;
8384
8485export const MyBulkAction: BulkActionComponent <any > = ({ selection , table }) => {
Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ export interface DataTableBulkActionItemProps {
3939 *
4040 * @example
4141 * ```tsx
42- * import { DataTableBulkActionItem, Trans } from '\@vendure/dashboard';
42+ * import { Trans } from '@lingui/react/macro';
43+ * import { DataTableBulkActionItem, BulkActionComponent } from '\@vendure/dashboard';
4344 * import { Check } from 'lucide-react';
4445 *
4546 * export const MyBulkAction: BulkActionComponent<any> = ({ selection, table }) => {
You can’t perform that action at this time.
0 commit comments