Skip to content

Commit

Permalink
chore: pickview use classPrefix (#6304)
Browse files Browse the repository at this point in the history
chore: pickview dom use classPrefix
  • Loading branch information
1587315093 authored Aug 15, 2023
1 parent 384373e commit 6b21558
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/picker-view/wheel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ export const Wheel = memo<Props>(
const previous = column[previousIndex]
const next = column[nextIndex]
return (
<div className='adm-picker-view-column-accessible'>
<div className={`${classPrefix}-column-accessible`}>
<div
className='adm-picker-view-column-accessible-current'
className={`${classPrefix}-column-accessible-current`}
role='button'
aria-label={
current ? `当前选择的是:${current.label}` : '当前未选择'
Expand All @@ -228,7 +228,7 @@ export const Wheel = memo<Props>(
-
</div>
<div
className='adm-picker-view-column-accessible-button'
className={`${classPrefix}-column-accessible-button`}
onClick={() => {
if (!previous) return
scrollSelect(previousIndex)
Expand All @@ -241,7 +241,7 @@ export const Wheel = memo<Props>(
-
</div>
<div
className='adm-picker-view-column-accessible-button'
className={`${classPrefix}-column-accessible-button`}
onClick={() => {
if (!next) return
scrollSelect(nextIndex)
Expand Down

0 comments on commit 6b21558

Please sign in to comment.