Commit 483310e 1 parent 56e3197 commit 483310e Copy full SHA for 483310e
File tree 2 files changed +11
-2
lines changed
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,16 @@ class LitTableExample extends LitElement {
128
128
) }
129
129
</ tbody >
130
130
</ table >
131
- < pre > 123</ pre >
131
+ < pre >
132
+ ${ JSON . stringify (
133
+ {
134
+ columnSizing : table . getState ( ) . columnSizing ,
135
+ columnSizingInfo : table . getState ( ) . columnSizingInfo ,
136
+ } ,
137
+ null ,
138
+ 2
139
+ ) } </ pre
140
+ >
132
141
< style >
133
142
* {
134
143
font-family : sans-serif;
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ const defaultColumns: ColumnDef<Person>[] = [
101
101
]
102
102
103
103
function App ( ) {
104
- const [ data , setData ] = React . useState ( ( ) => [ ...defaultData ] )
104
+ const [ data ] = React . useState ( ( ) => [ ...defaultData ] )
105
105
const [ columns ] = React . useState < typeof defaultColumns > ( ( ) => [
106
106
...defaultColumns ,
107
107
] )
You can’t perform that action at this time.
0 commit comments