reactjs / React.NET

.NET library for JSX compilation and server-side rendering of React components
https://reactjs.net/
MIT License
2.28k stars 940 forks source link

code is not working date ,title,amount is not defined error is showing but it is already defined #1339

Open Divyanshua1 opened 12 months ago

Divyanshua1 commented 12 months ago

import React from 'react'; import Video from './components/Video'; function App() {

let subscription = [ { id: "1", date: new Date('2021', '03', '15'), Title: "Monthly Subscription", amount: "1325.60"

},
{
  id: "2",
  date: new Date('2021', '05', '15'),
  Title: "Annually Subscription",
  amount: "1215.60"

},
{
  id: "3",
  date: new Date('2021', '02', '15'),
  Title: "Quaterly Subscription",
  amount: "1250.60"

}

]; let date = new Date('2021', '08', '15'); let Title = "Monthly Subscription"; let Amount = '125.50';

return ( <>