Revert breaking the types of DrawerTitle (#5573)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-06-08 10:01:07 -04:00
1 parent 647e798093
commit 2b5d54e8d9
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