mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
cleanup
This commit is contained in:
@@ -11,9 +11,9 @@ import style from './Cell.module.css';
|
||||
import { Container } from './Containers/Container.js';
|
||||
import { s } from './s.js';
|
||||
import { useS } from './useS.js';
|
||||
import { Focusable, type ClickableProps } from './Focusable.js';
|
||||
import { Focusable, type FocusableProps } from './Focusable.js';
|
||||
|
||||
interface Props extends ClickableProps {
|
||||
interface Props extends FocusableProps {
|
||||
description?: React.ReactNode | string;
|
||||
before?: React.ReactElement;
|
||||
after?: React.ReactElement;
|
||||
|
||||
@@ -5,10 +5,10 @@
|
||||
* Licensed under the Apache License, Version 2.0.
|
||||
* you may not use this file except in compliance with the License.
|
||||
*/
|
||||
import { Focusable as UiKitFocusable, type FocusableProps } from '@dbeaver/ui-kit';
|
||||
import { Focusable as UiKitFocusable, type FocusableProps as UiKitFocusableProps } from '@dbeaver/ui-kit';
|
||||
|
||||
export type ClickableProps = FocusableProps;
|
||||
export type FocusableProps = UiKitFocusableProps;
|
||||
|
||||
export function Focusable(props: ClickableProps): React.ReactElement {
|
||||
export function Focusable(props: FocusableProps): React.ReactElement {
|
||||
return <UiKitFocusable {...props} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user