mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-01-18 05:59:13 +01:00
Update 04-applying-custom-formatting.md (#3371)
This commit is contained in:
parent
653690e285
commit
8cd9b79352
@ -62,7 +62,7 @@ const App = () => {
|
||||
])
|
||||
|
||||
const renderElement = useCallback(props => {
|
||||
switch (prop.element.type) {
|
||||
switch (props.element.type) {
|
||||
case 'code':
|
||||
return <CodeElement {...props} />
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user