@atom-learning/components 2.25.1 → 2.25.2-beta.0

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.
@@ -77,6 +77,8 @@ If you need more flexibility than the default implementations provide, you can r
77
77
 
78
78
  Note also that `useDataTable` can only be called by a child component of `DataTable`. In a real example, you'll probably have a separate named component which makes the `useDataTable` call, because if you're not using the defaults as above then you probably have some complex logic involved. In this example we've got an inline child component for simplicity.
79
79
 
80
+ Note that if you update the value of the `data` prop, it will reset the state of the table. This is useful if you are manipulating the data outside the context of the table.
81
+
80
82
  ```tsx
81
83
  <DataTable columns={columns} data={data}>
82
84
  {() => {