2024-04-05 04:05:44 -04:00
|
|
|
import { Row } from 'react-bootstrap-5'
|
|
|
|
import { Row as BS3Row } from 'react-bootstrap'
|
|
|
|
import BootstrapVersionSwitcher from '@/features/ui/components/bootstrap-5/bootstrap-version-switcher'
|
|
|
|
|
2024-05-15 10:31:00 -04:00
|
|
|
type OLRowProps = React.ComponentProps<typeof Row>
|
2024-04-05 04:05:44 -04:00
|
|
|
|
2024-05-15 10:31:00 -04:00
|
|
|
function OLRow(props: OLRowProps) {
|
2024-04-05 04:05:44 -04:00
|
|
|
return (
|
|
|
|
<BootstrapVersionSwitcher
|
|
|
|
bs3={<BS3Row className={props.className}>{props.children}</BS3Row>}
|
|
|
|
bs5={<Row {...props} />}
|
|
|
|
/>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2024-05-15 10:31:00 -04:00
|
|
|
export default OLRow
|