1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Revert breaking the types of DrawerTitle (#5573)

This commit is contained in:
Sebastian Malton 2022-06-08 10:01:07 -04:00 committed by GitHub
parent 647e798093
commit 2b5d54e8d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,12 @@ import { cssNames } from "../../utils";
export interface DrawerTitleProps { export interface DrawerTitleProps {
className?: string; className?: string;
children: React.ReactNode; children?: React.ReactNode;
/**
* @deprecated Prefer passing the value as `children`
*/
title?: React.ReactNode;
/** /**
* Specifies how large this title is * Specifies how large this title is