- i18next 23->26 + react-i18next 15->17 - prettier 2->3, reformat all files - replace @fontsource/inter with @fontsource-variable/inter 5, update import path - domhandler 5->6 (aligns with transitive deps) - lint-staged 16->17
11 lines
340 B
TypeScript
11 lines
340 B
TypeScript
import React from 'react';
|
|
import classNames from 'classnames';
|
|
import { as } from 'folds';
|
|
import * as css from './Sidebar.css';
|
|
|
|
export const SidebarStack = as<'div'>(
|
|
({ as: AsSidebarStack = 'div', className, ...props }, ref) => (
|
|
<AsSidebarStack className={classNames(css.SidebarStack, className)} {...props} ref={ref} />
|
|
),
|
|
);
|