Components
SimpleTable
Code

SimpleTable

SimpleTable<T>(props): null | Element

Controlled table render built on top of TanStack/Table API

Type parameters

Name
T

Parameters

NameType
propsSimpleTableProps<T> & RefAttributes<HTMLTableElement (opens in a new tab)>

Returns

null | Element

See

https://tanstack.com/table/v8 (opens in a new tab)

Example

<SimpleTable data={[]} columsn={[]} options={{}} />
import React from 'react'
import { SimpleTable } from '@vtex/shoreline-components'
export default function App() { return (<><SimpleTable data={[]} columsn={[]} options={{}} /></>)}

Defined in

packages/utils/dist/index.d.ts:183