Revert breaking the types of DrawerTitle

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2022-06-07 16:16:14 -04:00
1 parent 1b7dd717a5
commit 0ae9a97434
1 file changed
+6 -1
@@ -9,7 +9,12 @@ import { cssNames } from "../../utils";
export interface DrawerTitleProps {
className?: string;
children: React.ReactNode;
children?: React.ReactNode;
/**
* @deprecated Prefer passing the value as `children`
*/
title?: React.ReactNode;
/**
* Specifies how large this title is