Sanity plugin that implements a table
schema type and input component.
Install using the Sanity CLI.
sanity install table
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
],
};