import React from 'react';
import { BooleanView as FieldsBooleanView } from '@wix/patterns-fields';
import type { CellViewProps } from '../../types';
import { classes } from './View.st.css.js';

export const BooleanView: React.FC<CellViewProps<boolean>> = ({ value }) => (
  <FieldsBooleanView
    value={value}
    dataHook="boolean-check-icon"
    className={classes.booleanView}
  />
);
