File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
packages/components/src/components/breadcrumb Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 1- import {
2- useDefaultProps ,
3- useMetadata ,
4- useRef ,
5- useStore
6- } from '@builder.io/mitosis' ;
1+ import { useDefaultProps , useMetadata , useStore } from '@builder.io/mitosis' ;
72import { cls } from '../../utils' ;
83import { DBIcon } from '../icon' ;
94import type { DBBreadcrumbProps , DBBreadcrumbState } from './model' ;
@@ -19,8 +14,6 @@ useDefaultProps<DBBreadcrumbProps>({
1914} ) ;
2015
2116export default function DBBreadcrumb ( props : DBBreadcrumbProps ) {
22- const _ref = useRef < HTMLElement | any > ( null ) ;
23-
2417 const state = useStore < DBBreadcrumbState > ( {
2518 isExpanded : false ,
2619 toggleExpanded ( ) {
@@ -30,7 +23,6 @@ export default function DBBreadcrumb(props: DBBreadcrumbProps) {
3023
3124 return (
3225 < nav
33- ref = { _ref }
3426 id = { props . id }
3527 class = { cls ( 'db-breadcrumb' , props . className ) }
3628 data-size = { props . size }
You can’t perform that action at this time.
0 commit comments