mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-25 02:00:10 +02:00
[web] - Updating the Account Settings page with the Button and Icon Button wrappers GitOrigin-RevId: 135c4ddaa64d009d3ab8cdfef9cff899fd77669c
8 lines
215 B
TypeScript
8 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
|
|
}
|