MCPcopy Create free account
hub / github.com/editablejs/editable / DefaultTitle

Function DefaultTitle

packages/plugins/title/src/plugin/with-title.tsx:13–15  ·  view source on GitHub ↗
({ attributes, children })

Source from the content-addressed store, hash-verified

11const StyledTitle = tw.h1`font-semibold text-4xl mb-6`
12
13const DefaultTitle: FC<TitleComponentProps> = ({ attributes, children }) => {
14 return <StyledTitle {...attributes}>{children}</StyledTitle>
15}
16
17const { isEmpty } = Editor
18

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…