* Remove skipLoadingStyleSheet * Remove unused bootstrap-5 assignment from the Account settings page since it's archived * Remove bsVersionIcon * Remove bsVersion, bootstrapVersion and isBootstrap5 from elements on the IDE page * Remove BS3Dropdown from the context menu * Cleanup Bootstrap 3 related comment and type GitOrigin-RevId: a67244eb78943ee84cc5f89bae164c0361e8fc13
This commit is contained in:
@@ -12,16 +12,6 @@ export function bsVersion({ bs5, bs3 }: { bs5?: unknown; bs3?: unknown }) {
|
||||
return isBootstrap5() ? bs5 : bs3
|
||||
}
|
||||
|
||||
export const bsVersionIcon = ({
|
||||
bs5,
|
||||
bs3,
|
||||
}: {
|
||||
bs5?: { type: string }
|
||||
bs3?: { type: string; fw?: boolean }
|
||||
}) => {
|
||||
return isBootstrap5() ? bs5 : bs3
|
||||
}
|
||||
|
||||
// get all `aria-*` and `data-*` attributes
|
||||
export const getAriaAndDataProps = (obj: Record<string, unknown>) => {
|
||||
return Object.entries(obj).reduce(
|
||||
|
||||
Reference in New Issue
Block a user