@astryxdesign/core 0.1.6-canary.e0802e8 → 0.1.6-canary.e82deeb

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -52,7 +52,7 @@ export interface UseTableGroupedRowsResult<T extends Record<string, unknown>> {
52
52
  * pass all three to `<Table>`.
53
53
  *
54
54
  * @example
55
- * ```
55
+ * ```tsx
56
56
  * const [collapsed, setCollapsed] = useState<Set<string>>(new Set());
57
57
  * const grouped = useTableGroupedRows({
58
58
  * data: rows,
@@ -78,7 +78,7 @@ const styles = {
78
78
  * pass all three to `<Table>`.
79
79
  *
80
80
  * @example
81
- * ```
81
+ * ```tsx
82
82
  * const [collapsed, setCollapsed] = useState<Set<string>>(new Set());
83
83
  * const grouped = useTableGroupedRows({
84
84
  * data: rows,
@@ -41,7 +41,7 @@ export interface UseTableRowIndexConfig<T extends Record<string, unknown>> {
41
41
  * so it reflects the current sort / filter / pagination view.
42
42
  *
43
43
  * @example
44
- * ```
44
+ * ```tsx
45
45
  * const rowIndex = useTableRowIndex({data});
46
46
  * <Table data={data} columns={columns} idKey="id" plugins={{rowIndex}} />;
47
47
  * ```
@@ -37,7 +37,7 @@ const INDEX_COLUMN_WIDTH = {
37
37
  * so it reflects the current sort / filter / pagination view.
38
38
  *
39
39
  * @example
40
- * ```
40
+ * ```tsx
41
41
  * const rowIndex = useTableRowIndex({data});
42
42
  * <Table data={data} columns={columns} idKey="id" plugins={{rowIndex}} />;
43
43
  * ```