This is a step-by-step guide to use the DDA components in React.
npm i @dubai-design-system/components-react
<style>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</style>
import React from 'react';
import { DdaButton } from "@dubai-design-system/components-react";
const App = () => (
<div>
<DdaButton
button_color="default-primary"
start_icon="sentiment_satisfied"
end_icon="arrow_forward"
custom_class=""
component_mode=""
button_id="button"
aria_label="button"
onclick="console.log('clicked')"
>Button</DdaButton>
</div>
);
export default App;