Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export default () =>
S.list()
.id('root')
.title('Content')
.items([
S.documentListItem()
.id('foo-bar')
.title('Singleton author')
.schemaType('author'),
S.divider(),
S.listItem()
.title('Anything with a title')
.icon(() => <span style="{{fontSize:">T</span>)
.child(() =>
delay(
S.documentList({
id: 'title-list',
title: 'Titles!',
options: {
filter: 'defined(title)'
}
})
)
),