Skip to content

haradakunihiko/react-confirm-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React-Confirm Sample Implementations

This repository provides sample implementations for the react-confirm library using TypeScript and Bootstrap.

Referenced samples are from the original react-confirm repository, and these samples are designed to demonstrate:

1_typescript

A basic implementation using TypeScript and Bootstrap.

Open in StackBlitz

2_typescript_using_context

An enhanced version of the first sample by integrating React's Context API.

Open in StackBlitz

Archive

The archive/ directory contains historical example implementations that were previously located in the original react-confirm repository. These samples are preserved for reference purposes.

Getting Started

Prerequisites

  • Node.js
  • npm or yarn

Installation

  1. Clone the sample repository:
git clone https://github.com/haradakunihiko/react-confirm-sample.git
  1. Navigate to the desired sample directory (e.g., 1_typescript or 2_typescript_using_context):
cd [SAMPLE_DIRECTORY]
  1. Install dependencies:
npm install
  1. Start the development server:
npm start

The application should then be running on http://localhost:3000.

Interactivity

Please note that interactions with the sample dialogs output details to the console. Review the console output while interacting with the dialogs to observe the behavior and outcomes.

📚 Legacy Examples (Older versions)

Contributing

Feedback, issues, and pull requests are welcome!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published