@webriq-pagebuilder/sanity-plugin-input-component-social-accounts
v6.0.6
Published
Display social media feed with StackShift UI input component
Downloads
663
Maintainers
Readme
sanity-plugin-input-component-social-accounts
Display social media feed with StackShift UI input component.
Installation
In your Sanity project folder:
yarn add @webriq-pagebuilder/sanity-plugin-input-component-social-accounts
or
npm install @webriq-pagebuilder/sanity-plugin-webriq-components
Usage
Import as input component to schema field of type string
to select linked social media accounts and display media feed:
// sample component definition
import LinkedSocialAccounts from "@webriq-pagebuilder/sanity-plugin-input-component-social-accounts"
export const socialMediaSchema = [
// other fields here
{
name: "selectAccount",
title: "Choose Social Account",
description:
"Select the linked social media account to display content from",
components: {
input: LinkedSocialAccounts,
},
type: "string",
},
]
License
MIT © WebriQ
Develop & test
This plugin uses @sanity/plugin-kit with default configuration for build & watch scripts.
See Testing a plugin in Sanity Studio on how to run this plugin with hotreload in the studio.