gestalt
Version:
A set of React UI components which enforce Pinterest's design language
20 lines (19 loc) • 822 B
TypeScript
import { ReactNode } from 'react';
type Props = {
/**
* Any [SideNavigation.TopItem](https://gestalt.pinterest.systems/web/sidenavigation#SideNavigation.TopItem) to be rendered
*/
children: ReactNode;
/**
* Label for the section. See the [Sections](https://gestalt.pinterest.systems/web/sidenavigation#Sections) variant for more info.
*/
label: string;
};
/**
* Use [SideNavigation.Section](https://gestalt.pinterest.systems/web/sidenavigation#SideNavigation.Section) to categorize navigation menu items into groups and also avoid redundant language in labels.
*/
declare function SideNavigationSection({ children, label }: Props): import("react/jsx-runtime").JSX.Element;
declare namespace SideNavigationSection {
var displayName: string;
}
export default SideNavigationSection;