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

ComponentDescriptionProps
DevToolsBlockerBlocks access to browser developer toolschildren
CursorProtectProtects against cursor-based interactionsmessage, children
GitHubStarCountDisplays a GitHub star buttongithubStar

DevToolsBlocker API

Props

PropTypeDescriptionDefault
childrenReactNodeThe components to be protectedRequired

CursorProtect API

Props

PropTypeDescriptionDefault
messagestringThe message to display when the screen block is activated"Screen Blocked"
childrenReactNodeThe components to be protectedRequired

GitHubStarCount API

Props

PropTypeDescriptionDefault
githubStarstringThe GitHub repository path in the format "username/repo"Required