FileExtractor.extractProps()method
extractProps(name: string, content: string): Partial<TreeElementProps> & { name: string }Build the file element props from the extracted content.
nameis the basename without extension (e.g."array") — display-ready, used by menus, cards, and URL paths.- Override to parse
textinto richer elements (content/children/description) and to settitleif a confident title is available.