IgniteUI / igniteui-react-examples

samples browser app and individual samples on how to use Ignite UI for React components
https://infragistics.com/react-demos/samples
11 stars 6 forks source link
chart data-visualization demos dock-manager editors examples excel gauges geo-mapping grids ingiteui ingiteui-react maps react samples spreadsheet spreadsheets treemap typescript
ignite-ui

Examples of Ignite UI for React Components

This repository contains over 500 examples on how to use Ignite UI for React components:

Branches

NOTE: You should use master branch of this repository if you want to run samples on your computer. Use the vnext branch only when you want to contribute new samples to this repository.

Preview

You can preview and browse all samples in this repository by opening our React Samples Browser. Alternatively, you you can view these samples with detailed information in our React Help Documentation.

In addition, you can run each sample project individually from the ./samples folder or you can run from the ./browser folder to browse all samples in one website (see instructions below). You can run each sample on Code Sandbox website by clicking on the Edit Sandbox button in a readme file of sample project, e.g.

./samples/charts/category-chart/overview/README.md

Setup

To set up this project locally, clone this repository:

git clone https://github.com/IgniteUI/igniteui-react-examples.git

Running Individual Sample

At this point, you should see a website hosted example of Ignite UI for React component

Running All Samples

This will install required packages and Ignite UI for React packages

Note this application copies all individually sample projects from ./samples to ./browser/src folder when it is about to start running. Therefore, any changes to ./browser/src will be overridden on consecutive run of the application.

Wait until the build is completed and then open http://localhost:4200 in your browser. You should see a website with navigation menu for browning all samples in this repository.

SB Preview

Adding New Sample

ControlNameSampleName.tsx

./samples/charts/category-chart/axis-types/src/CategoryChartAxisTypes.tsx

Verify New Sample

NOTE this will re-generate the Readme.md file in the new sample

Learn More

To learn more about Ignite UI for React components, check out the React documentation.

Updating Version of IgniteUI Packages

Perform these steps to update version of Ignite UI for React packages in all samples. NOTE that the order of these steps is very important.