import Table from '@/features/ui/components/bootstrap-5/table' import { Table as BS3Table } from 'react-bootstrap' import BootstrapVersionSwitcher from '@/features/ui/components/bootstrap-5/bootstrap-version-switcher' type OLFormProps = React.ComponentProps & { bs3Props?: React.ComponentProps } function OLTable(props: OLFormProps) { const { bs3Props, ...rest } = props const bs3FormProps: React.ComponentProps = { bsClass: rest.className, condensed: rest.size === 'sm', children: rest.children, responsive: typeof rest.responsive !== 'string' ? rest.responsive : undefined, ...bs3Props, } return ( } bs5={} /> ) } export default OLTable