Skip to content

Commit

Permalink
Remove TOOLBAR_ITEM_TAG_NAME
Browse files Browse the repository at this point in the history
Refs: #7036
  • Loading branch information
anicyne committed Dec 16, 2024
1 parent 275a164 commit 02a6488
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/components/src/components/toolbar/shadow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import type { LabelPropType, ToolbarAPI, ToolbarStates, ToolbarItemsPropType, To
import { validateLabel, validateToolbarItems } from '../../schema';
import { KolLinkTag, KolButtonTag } from '../../core/component-names';

const TOOLBAR_ITEM_TAG_NAME = 'kol-toolbar__item';

@Component({
tag: 'kol-toolbar',
styleUrls: {
Expand All @@ -30,7 +28,7 @@ export class KolToolbar implements ToolbarAPI {
const tabIndex = index === this.currentIndex && !element?._disabled ? 0 : -1;
const props = {
key: index,
class: TOOLBAR_ITEM_TAG_NAME,
class: 'kol-toolbar__item',
_tabIndex: tabIndex,
};
const catchRef = (element?: HTMLKolLinkElement | HTMLKolButtonElement) => {
Expand Down

0 comments on commit 02a6488

Please sign in to comment.