Skip to main content

Terms And Conditions

img

Usage​

import React from 'react'
import { TermsAndConditions } from 'qdm-component-library'

function App() {
return (
<TermsAndConditions
value={true}
lable="I agree that I've read the instructions."
onClick={(value) => console.log(value)}
/>
)
}
export default App

Reference​

activeCheckboxBorderColor​

props for changing active checkbox border color string

checkboxTickSize​

props for changing size of the checkbox tick number

checkboxTickColor​

props for changing color of the checkbox tick string

checkboxSize​

props for changing height and width of the checkbox number

lable​

props for label for terms and conditions string

value​

props for checked,default is false boolean

onClick​

props for changing checked value Function

inLineStyles​

props for providing extra styling for text object