API Reference
Comprehensive API documentation for React Mower components.
Overview
This section provides detailed information about the API of React Mower components, including props, methods, and event handlers.
Component Summary
| Component | Description | Props |
|---|---|---|
| DevToolsBlocker | Blocks access to browser developer tools | children |
| CursorProtect | Protects against cursor-based interactions | message, children |
| GitHubStarCount | Displays a GitHub star button | githubStar |
DevToolsBlocker API
Props
| Prop | Type | Description | Default |
|---|---|---|---|
| children | ReactNode | The components to be protected | Required |
CursorProtect API
Props
| Prop | Type | Description | Default |
|---|---|---|---|
| message | string | The message to display when the screen block is activated | "Screen Blocked" |
| children | ReactNode | The components to be protected | Required |
GitHubStarCount API
Props
| Prop | Type | Description | Default |
|---|---|---|---|
| githubStar | string | The GitHub repository path in the format "username/repo" | Required |