sanity-plugin-another-table
Version:
Table schema type and input component for Sanity CMS
33 lines (24 loc) • 610 B
Markdown
# Sanity Table Plugin
> Forked form [rdunk/sanity-plugin-table](https://github.com/rdunk/sanity-plugin-table).

## Install
Install using the [Sanity CLI](https://www.sanity.io/docs/cli).
```bash
$ npm i sanity-plugin-another-table
```
## Usage
Simply specify `table` as a field type in your schema.
```js
export default {
name: 'product',
title: 'Product',
type: 'document',
fields: [
{
name: 'sizeChart',
title: 'Size Chart',
type: 'table',
},
],
};
```