Skip to main content

Div

Usage

This props inherits all the div properties from HTML

import React from 'react';
import { Div } from 'qdm-component-library';

function App() {

return (
<Div className={'demoName'} />
);
}
export default App;

Reference

Props

className

props for providing classname to Div component string

id

props for providing id to Div component string

name

props for providing name to Div component string

children

props for providing children for Div Component React Node

inLineStyles

props give addition props to the Div Component type Object