import { ConsentActionType } from '@signatu/consent';
import React from 'react';
import { makeTypedComponent } from '../lib/makeComponent';
import { ConsentRequest } from './consentRequest';
import { ConsentActionProps } from './consentAction';

export const ConsentCheckbox: React.ComponentType<ConsentActionProps> = makeTypedComponent(ConsentRequest, ConsentActionType.CHECKBOX)