UNPKG

@nile-ui/nile-ui

Version:

Modern and beautiful looking component designs

18 lines (15 loc) 478 B
import React from "react"; import { TitleProps } from "../Typography/Title/types"; export type SectionComponentProps = { children: React.ReactNode; className?: string; fluid?: boolean; title?: string | React.ReactElement titleProps?: TitleProps titleRef?: React.Ref<HTMLHeadingElement> wrapTitleWithContainer?: boolean } export type SectionProps = Omit<React.DetailedHTMLProps< React.HTMLAttributes<HTMLElement>, HTMLElement >, 'title'> & SectionComponentProps;