
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@webriq-pagebuilder/sanity-plugin-input-component-social-accounts
Advanced tools
Display social media feed with StackShift UI input component
Display social media feed with StackShift UI input component.
In your Sanity project folder:
yarn add @webriq-pagebuilder/sanity-plugin-input-component-social-accounts
or
npm install @webriq-pagebuilder/sanity-plugin-webriq-components
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",
},
]
MIT © WebriQ
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.
FAQs
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.