@seamapi/react 1.29.0 → 1.30.1

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.
package/README.md CHANGED
@@ -48,7 +48,7 @@ $ npm install @seamapi/react
48
48
  ```tsx
49
49
  import { ConnectAccountButton, DeviceTable, SeamProvider } from '@seamapi/react'
50
50
 
51
- export const App = () => {
51
+ export function App() {
52
52
  return (
53
53
  <SeamProvider publishableKey='your_publishable_key'>
54
54
  <main>
@@ -103,7 +103,7 @@ They are well-typed and follow a uniform API.
103
103
  ```tsx
104
104
  import { SeamProvider, useDevices } from '@seamapi/react/hooks'
105
105
 
106
- export const App = () => {
106
+ export function App() {
107
107
  return (
108
108
  <SeamProvider publishableKey='your_publishable_key'>
109
109
  <main>
@@ -114,7 +114,7 @@ export const App = () => {
114
114
  )
115
115
  }
116
116
 
117
- const Devices = () => {
117
+ function Devices() {
118
118
  const { devices, isLoading, isError, error } = useDevices()
119
119
 
120
120
  if (isLoading) {