Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
remove unused files functions (#10749)
Browse files Browse the repository at this point in the history
  • Loading branch information
HexaField authored Jul 29, 2024
1 parent 2f39adb commit 004b91b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 208 deletions.
76 changes: 0 additions & 76 deletions packages/editor/src/components/inputs/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,79 +65,3 @@ export const MediumButton = ({
</button>
)
}
/**
* LargeButton used to create large size button.
*
* @type {Component}
*/
export const LargeButton = ({
type = 'button' as 'button' | 'submit' | 'reset',
onClick,
children,
className = 'button',
...rest
}) => {
const buttonClass = `large-button ${className}`
return (
<button type={type} className={buttonClass} onClick={onClick} {...rest}>
{children}
</button>
)
}
/**
* SecondaryButton is the button used for performing secondary action like cancel.
*
* @type {Component}
*/
export const SecondaryButton = ({
type = 'button' as 'button' | 'submit' | 'reset',
onClick,
children,
className = 'button',
...rest
}) => {
const buttonClass = `secondary-button ${className}`
return (
<button type={type} className={buttonClass} onClick={onClick} {...rest}>
{children}
</button>
)
}
/**
* MenuButton used to show menus like context menus.
*
* @type {Component}
*/
export const MenuButton = ({
type = 'button' as 'button' | 'submit' | 'reset',
onClick,
children,
className = 'button',
...rest
}) => {
const buttonClass = `menu-button ${className}`
return (
<button type={type} className={buttonClass} onClick={onClick} {...rest}>
{children}
</button>
)
}
/**
* PropertiesPanelButton used in property penal like in ScenePreviewCamera nodes we using it as set from viewport.
*
* @type {Component}
*/
export const PropertiesPanelButton = ({
type = 'button' as 'button' | 'submit' | 'reset',
onClick,
children,
className = 'button',
...rest
}) => {
const buttonClass = `properties-panel-button ${className}`
return (
<button type={type} className={buttonClass} onClick={onClick} {...rest}>
{children}
</button>
)
}
66 changes: 0 additions & 66 deletions packages/editor/src/components/layout/ContextMenu.tsx

This file was deleted.

66 changes: 0 additions & 66 deletions packages/editor/src/components/layout/Tooltip.tsx

This file was deleted.

0 comments on commit 004b91b

Please sign in to comment.