Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const getDefaultDocumentNode = () => {
return S.document().views([
S.view.form().icon(EditIcon),
S.view
.component(DeveloperPreview)
.options({some: 'option'})
.icon(EyeIcon)
.title('Preview')
])
}
export const getDefaultDocumentNode = () => {
return S.document().views([
S.view.form().icon(EditIcon),
S.view
.component(DeveloperPreview)
.options({some: 'option'})
.icon(EyeIcon)
.title('Preview')
])
}
.child(documentId =>
S.document()
.documentId(documentId)
.schemaType('person')
.views([S.view.form(), S.view.component(Preview)])
)
.child(documentId =>
S.document()
.documentId(documentId)
.schemaType('post')
.views([S.view.form(), S.view.component(Preview)])
)