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:
parent
647e798093
commit
2b5d54e8d9
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user