Skip to content

docs: add api reference section#716

Open
kacperzolkiewski wants to merge 11 commits into
@ksienkiewicz/docs-fundamentalsfrom
@kacperzolkiewski/docs-api-reference
Open

docs: add api reference section#716
kacperzolkiewski wants to merge 11 commits into
@ksienkiewicz/docs-fundamentalsfrom
@kacperzolkiewski/docs-api-reference

Conversation

@kacperzolkiewski

Copy link
Copy Markdown
Collaborator

Summary

Add Api reference section to docs

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds full API reference documentation pages for the library’s two main public components (EnrichedTextInput editor and EnrichedText renderer), replacing prior TODO placeholders.

Changes:

  • Documented EnrichedText props, types, remarks, and platform compatibility.
  • Added a comprehensive EnrichedTextInput API reference including props, ref methods, and style/type definitions.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
docs/docs/api-reference/enriched-text.md Adds EnrichedText API reference with prop documentation and related types.
docs/docs/api-reference/enriched-text-input.md Adds EnrichedTextInput API reference covering props, ref methods, and styling/type details.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/docs/api-reference/enriched-text.md
Comment thread docs/docs/api-reference/enriched-text-input.md Outdated
kacperzolkiewski and others added 2 commits July 21, 2026 11:52
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Comment thread docs/docs/api-reference/enriched-text-input.md Outdated
Comment thread docs/docs/api-reference/enriched-text-input.md Outdated
Comment thread docs/docs/api-reference/enriched-text-input.md Outdated
Comment thread docs/docs/api-reference/enriched-text-input.md Outdated
Comment thread docs/docs/api-reference/enriched-text-input.md Outdated
Comment thread docs/docs/api-reference/enriched-text-input.md Outdated
Comment thread docs/docs/api-reference/enriched-text-input.md
Comment thread docs/docs/api-reference/enriched-text-input.md Outdated

## Props

### `allowFontScaling` <Optional /> {#allowfontscaling}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about that Optional mark. Pretty much every prop we support is optional and IMO it creates unnecessary noise when reading, especially as its style it is pretty vibrant. What about changing the approach and marking the non-optional fields with a <Required /> instead?

Comment thread docs/docs/api-reference/enriched-text-input.md
kacperzolkiewski and others added 8 commits July 21, 2026 14:28
Co-authored-by: Krystian Sienkiewicz <146986839+hejsztynx@users.noreply.github.com>
Co-authored-by: Krystian Sienkiewicz <146986839+hejsztynx@users.noreply.github.com>
Co-authored-by: Krystian Sienkiewicz <146986839+hejsztynx@users.noreply.github.com>
Co-authored-by: Krystian Sienkiewicz <146986839+hejsztynx@users.noreply.github.com>
Co-authored-by: Krystian Sienkiewicz <146986839+hejsztynx@users.noreply.github.com>
Co-authored-by: Krystian Sienkiewicz <146986839+hejsztynx@users.noreply.github.com>
Co-authored-by: Krystian Sienkiewicz <146986839+hejsztynx@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants