@selvklart/sanity-plugin-table
v1.2.1
Published
Table schema type and input component for Sanity CMS
Downloads
4
Keywords
Readme
sanity-plugin-table
This is a fork of https://github.com/coreyward/sanity-plugin-table, made into a package for easier use.
Sanity plugin that implements a table
schema type and input component.
Installing
Install using the Sanity CLI.
sanity install table
Usage
Simply specify table
as a field type in your schema.
export default {
name: 'product',
title: 'Product',
type: 'document',
fields: [
name: 'sizeChart',
title: 'Size Chart',
type: 'table', // Specify table type
],
};