breadcrum pointer
This commit is contained in:
parent
fbf1d8e916
commit
27326898f9
@ -12,7 +12,7 @@ const Breadcrum: React.FC<Props> = (props) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<ul className="flex text-gray-500 text-lg">
|
<ul className="flex text-gray-500 text-lg">
|
||||||
<li className="inline-flex items-center">
|
<li className="inline-flex items-center cursor-pointer">
|
||||||
<a onClick={()=>{
|
<a onClick={()=>{
|
||||||
props.onDirClick?.("/")
|
props.onDirClick?.("/")
|
||||||
}}>
|
}}>
|
||||||
@ -21,7 +21,7 @@ const Breadcrum: React.FC<Props> = (props) => {
|
|||||||
</li>
|
</li>
|
||||||
{parts.map((e,i,arr)=>{
|
{parts.map((e,i,arr)=>{
|
||||||
const last = i == arr.length - 1
|
const last = i == arr.length - 1
|
||||||
return <div key={e} className="inline-flex items-center">
|
return <div key={e} className="inline-flex items-center cursor-pointer">
|
||||||
<BreadcrumImage />
|
<BreadcrumImage />
|
||||||
<li>
|
<li>
|
||||||
<a
|
<a
|
||||||
|
Loading…
Reference in New Issue
Block a user