adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
17 lines (16 loc) • 792 B
TypeScript
import React from "react";
export declare type HeaderBarTitleProps = React.PropsWithChildren<{
/** A text to be displayed below the Title. */
subtitle?: string;
/** Class names to be added to the HeaderBarTitle container. */
className?: string;
/** When set to true, will expand to fill all the available space within a HeaderBar. */
fill?: boolean;
/**
* Makes this component grow to fill the available space, requires the container to
* be a flexbox to work.
*/
grow?: boolean | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 999;
}>;
/** A component that can be used inside the HeaderBar component to display the header's title. */
export declare function HeaderBarTitle({ children, subtitle, className, fill, }: HeaderBarTitleProps): JSX.Element;