React
DDA with React
Setup
npm i @dubai-design-system/components-reactimport '@dubai-design-system/components-js/dist/dda/dda.css';<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;Last updated

