feat(ui): move to React 18 and base for using shadcn/ui (#4174)

Co-authored-by: IbrahimCSAE <ibrahim.mdev@gmail.com>
This commit is contained in:
AlirezaandIbrahimCSAE authored and GitHub committed 2024-05-27 14:30:25 -04:00
1 parent 72b63dcd6a
commit 70f2c797f4
153 files changed
+2973 -2043

No files matched your search

@@ -161,7 +161,7 @@ const createBaseStyle = (expandedWidth: number) => {
const SidePanel = ({
side,
className,
activeTabIndex: activeTabIndexProp,
activeTabIndex: activeTabIndexProp = null,
tabs,
onOpen,
expandedWidth = 248,
@@ -400,11 +400,6 @@ const SidePanel = ({
);
};
SidePanel.defaultProps = {
defaultComponentOpen: null,
activeTabIndex: null, // the default is to close the side panel
};
SidePanel.propTypes = {
side: PropTypes.oneOf(['left', 'right']).isRequired,
className: PropTypes.string,