mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-11 18:46:46 -05:00
fa3f51fb2e
[web] - Updating the Account Settings page with the Button and Icon Button wrappers GitOrigin-RevId: 135c4ddaa64d009d3ab8cdfef9cff899fd77669c
7 lines
215 B
TypeScript
7 lines
215 B
TypeScript
import getMeta from '@/utils/meta'
|
|
|
|
export const isBootstrap5 = getMeta('ol-bootstrapVersion') === 5
|
|
|
|
export const bsVersion = ({ bs5, bs3 }: { bs5?: string; bs3?: string }) => {
|
|
return isBootstrap5 ? bs5 : bs3
|
|
}
|