Update Harbor client implementation
This commit is contained in:
@@ -9,6 +9,7 @@ interface DrawerBaseProps {
|
||||
className?: string;
|
||||
sheetClassName?: string;
|
||||
closeLabel: string;
|
||||
closeText?: string;
|
||||
onClose: () => unknown;
|
||||
leading?: ReactNode;
|
||||
children: ReactNode;
|
||||
@@ -30,6 +31,7 @@ export function Drawer({
|
||||
labelledBy,
|
||||
label,
|
||||
closeLabel,
|
||||
closeText = '×',
|
||||
onClose,
|
||||
leading,
|
||||
children,
|
||||
@@ -51,7 +53,7 @@ export function Drawer({
|
||||
type="button"
|
||||
aria-label={closeLabel}
|
||||
onClick={onClose}
|
||||
>×</button>
|
||||
>{closeText}</button>
|
||||
{children}
|
||||
</div>
|
||||
</aside>;
|
||||
|
||||
Reference in New Issue
Block a user