Merge pull request #18996 from overleaf/td-bs5-nav-react

Main navigation React component

GitOrigin-RevId: c99a4b4a2f6fd02618689f829681118b2b64aa8d
This commit is contained in:
Tim Down
2024-08-22 08:05:03 +00:00
committed by Copybot
parent 2296287e61
commit d5643d53b3
33 changed files with 669 additions and 15 deletions
@@ -1,7 +1,7 @@
import getMeta from '@/utils/meta'
// The reason this is a function to ensure that meta tag is read before any
// isBootstrap5 check is performed
// The reason this is a function is to ensure that the meta tag is read before
// any isBootstrap5 check is performed
export const isBootstrap5 = () => getMeta('ol-bootstrapVersion') === 5
export const bsVersion = ({ bs5, bs3 }: { bs5?: string; bs3?: string }) => {