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

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-06-07 16:16:14 -04:00
parent 1b7dd717a5
commit 0ae9a97434

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