Skip to content

mart-org/mart-snippets

Repository files navigation

Mart Snippets

Mart Snippets for Development

This document provides a reference for the development snippets available in the Mart toolkit. Below are the available snippets and how to use them in your development environment.


Available Snippets

1. React Context with TypeScript

  • Prefix: rctx
  • Description: Generates a React context with TypeScript. This snippet sets up a React context with a provider and a custom hook to use the context.

2. React Functional Component

  • Prefix: rcomp
  • Description: Creates a React functional component with the file name. This snippet generates a basic React functional component, using the file name as the component name.