File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
packages/components/src/components Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ useMetadata({});
1111useDefaultProps < DBTabListProps > ( { } ) ;
1212
1313export default function DBTabList ( props : DBTabListProps ) {
14- const _ref = useRef < HTMLDivElement | any > ( null ) ;
14+ const _ref = useRef < HTMLDivElement | null > ( null ) ;
1515 const state = useStore < DBTabListState > ( {
1616 _id : props . id || 'tab-list-' + uuid ( )
1717 } ) ;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ useMetadata({});
1515useDefaultProps < DBTabPanelProps > ( { } ) ;
1616
1717export default function DBTabPanel ( props : DBTabPanelProps ) {
18- const _ref = useRef < HTMLDivElement > ( null ) ;
18+ const _ref = useRef < HTMLDivElement | null > ( null ) ;
1919
2020 const state = useStore < DBTabPanelState > ( {
2121 internalHidden : props . hidden ,
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ interface DBTabsLocalState extends DBTabsState {
2828}
2929
3030export default function DBTabs ( props : DBTabsProps ) {
31- const _ref = useRef < HTMLDivElement > ( null ) ;
31+ const _ref = useRef < HTMLDivElement | null > ( null ) ;
3232
3333 const state = useStore < DBTabsLocalState > ( {
3434 _id : 'tabs-base-id' ,
You can’t perform that action at this time.
0 commit comments