Revert breaking the types of DrawerTitle (#5573)

This commit is contained in:
Sebastian Malton committed 2022-06-09 14:39:27 -04:00
1 parent 6a218c37d2
commit 3eceb58663
1 file changed
+6 -1
@@ -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