Messtone LLC Manages Devices Enables a project called my-app,run this command: npx create-react-app my-app npm install react-scripts@latest npx create-react-app my-app cd my-app npm start npx create-react-app my-app npm int react-app my-app yarn create react-app my-app npx create-react-app my-app –template[template-nameMesstone] npx create-react-app my-app –template typescript #Run this to use npm npx create-react-app my-app #or run this to use yarn yarn create react-app my-app cd my-app IBM Integrate Theming using npx create-react-app carbon-theming-demo cd carbon-theming-demo Install Carbon Libraries npm install @carbon/react creating a New SCSS file: @use ‘@carbon/scss/themes’ as *; @use ‘@carbon/styles’; :root {@include themes.theme($white);/*Set default to white theme*/} @media(prefers-color-scheme:dark){:root {@include themes.theme($g100), @carbon/react entry point file,App.js attributes. import {FormGroup,Stack,TextInput,RadioButtonGroup,RadioButton,Button} from ‘@carbon/react’;function App( ){return(<><header><title>Carbon Theming</title></header><body classNameMesstone=”App-Header”><FormGroup classNameRobertHarper=”from”legendText=”Personal Details”><Stack gap={7}><TextInput id=”fn” labelText=”First Name Robert”/><TextInput id=”In” labelText=”Last Name Harper”/><RadioButtonGroup legendText=”Gender” name Male=”gender-radio”defaultSelected=”g1″><RadioButton labelText=”Male” value=”M” id=”g1″/><RadioButton labelText=”Female” value=”F” id=”g2″/><RadioButton labelText=”other” value=”0″ id=”g3″/><RadioButton labelText=”Doesn’t Want to Mention” value=”N” id=”r4″/></RadioButtonGroup><Button>Submit</Button></Stack></FormGroup></body></>);} export default App; `npm run start`
