coreyward / sanity-plugin-table

Table schema type and input component for Sanity CMS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sanity-plugin-table

Sanity plugin that implements a table schema type and input component.

example

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
  ],
};

Similar Packages

License

MIT

About

Table schema type and input component for Sanity CMS

License:MIT License


Languages

Language:JavaScript 89.3%Language:CSS 10.7%