Skip to content

Commit 1edd632

Browse files
fix: Toolbar class type fixes
1 parent 86d7d18 commit 1edd632

3 files changed

Lines changed: 0 additions & 45 deletions

File tree

packages/types/src/shared/toolbar/ToolbarCenter.types.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,6 @@ export interface ToolbarCenterExposes {
4747
toolbar: ToolbarInstance | undefined | null;
4848
}
4949

50-
/**
51-
* Defines the CSS class names used in the ToolbarCenter component.
52-
*/
53-
export const ToolbarCenterClassNames = {
54-
/**
55-
* Class name of the root element
56-
*/
57-
root: 'p-toolbar-center'
58-
} as const;
59-
60-
/**
61-
* Type representing the CSS class names used in the ToolbarCenter component.
62-
*/
63-
export type ToolbarCenterClassNamesType = (typeof ToolbarCenterClassNames)[keyof typeof ToolbarCenterClassNames];
64-
6550
/**
6651
* Instance of ToolbarCenter component.
6752
*/

packages/types/src/shared/toolbar/ToolbarEnd.types.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,6 @@ export interface ToolbarEndExposes {
4747
toolbar: ToolbarInstance | undefined | null;
4848
}
4949

50-
/**
51-
* Defines the CSS class names used in the ToolbarEnd component.
52-
*/
53-
export const ToolbarEndClassNames = {
54-
/**
55-
* Class name of the root element
56-
*/
57-
root: 'p-toolbar-end'
58-
} as const;
59-
60-
/**
61-
* Type representing the CSS class names used in the ToolbarEnd component.
62-
*/
63-
export type ToolbarEndClassNamesType = (typeof ToolbarEndClassNames)[keyof typeof ToolbarEndClassNames];
64-
6550
/**
6651
* Instance of ToolbarEnd component.
6752
*/

packages/types/src/shared/toolbar/ToolbarStart.types.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,6 @@ export interface ToolbarStartExposes {
4747
toolbar: ToolbarInstance | undefined | null;
4848
}
4949

50-
/**
51-
* Defines the CSS class names used in the ToolbarStart component.
52-
*/
53-
export const ToolbarStartClassNames = {
54-
/**
55-
* Class name of the root element
56-
*/
57-
root: 'p-toolbar-start'
58-
} as const;
59-
60-
/**
61-
* Type representing the CSS class names used in the ToolbarStart component.
62-
*/
63-
export type ToolbarStartClassNamesType = (typeof ToolbarStartClassNames)[keyof typeof ToolbarStartClassNames];
64-
6550
/**
6651
* Instance of ToolbarStart component.
6752
*/

0 commit comments

Comments
 (0)