chore(richtext-lexical): remove outdated custom block component examples (#9754)

This commit is contained in:
Alessio Gravili
2024-12-04 12:58:50 -07:00
committed by GitHub
parent d8f7034ab8
commit 61a4656ef5
2 changed files with 0 additions and 21 deletions

View File

@@ -1,9 +0,0 @@
'use client'
import type React from 'react'
export const EmbedComponent: React.FC<any> = (props) => {
const { data } = props
return <span>{data.key}</span>
}

View File

@@ -1,12 +0,0 @@
'use client'
import type { Block, PayloadClientReactComponent } from 'payload'
import React from 'react'
export const LabelComponent: PayloadClientReactComponent<Block['admin']['components']['Label']> = (
props,
) => {
const { formData } = props
return <div>{formData?.key}</div>
}