mirror of
https://github.com/tabler/tabler.git
synced 2025-12-23 18:34:25 +04:00
fix: refactor Bootstrap exports for consistency (#2545)
This commit is contained in:
19
core/js/src/bootstrap.js
vendored
19
core/js/src/bootstrap.js
vendored
@@ -1,3 +1,20 @@
|
||||
export * as Popper from '@popperjs/core'
|
||||
|
||||
export { Dropdown, Tooltip, Popover, Tab, Toast } from 'bootstrap'
|
||||
// Export all Bootstrap components directly for consistent usage
|
||||
export {
|
||||
Alert,
|
||||
Button,
|
||||
Carousel,
|
||||
Collapse,
|
||||
Dropdown,
|
||||
Modal,
|
||||
Offcanvas,
|
||||
Popover,
|
||||
ScrollSpy,
|
||||
Tab,
|
||||
Toast,
|
||||
Tooltip
|
||||
} from 'bootstrap'
|
||||
|
||||
// Re-export everything as namespace for backward compatibility
|
||||
export * as bootstrap from 'bootstrap'
|
||||
|
||||
Reference in New Issue
Block a user