UNPKG

@kubit-ui-web/react-components

Version:

Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience

16 lines (15 loc) 1.02 kB
import React from 'react'; import { ILineSeparator } from './types/lineSeparator'; declare const LineSeparatorBoundary: <V = string | undefined, S = string | undefined>(props: ILineSeparator<V, S>, ref: React.ForwardedRef<HTMLDivElement> | undefined | null) => JSX.Element; declare const LineSeparator: <V = undefined extends string | unknown ? string | undefined : string | unknown, S = undefined extends string | unknown ? string | undefined : string | unknown>(props: React.PropsWithChildren<ILineSeparator<V, S>> & { ref?: React.ForwardedRef<HTMLDivElement> | undefined | null; }) => ReturnType<typeof LineSeparatorBoundary>; /** * @deprecated This component has been deprecated and will be removed in the next MAJOR release. Consider using an alternative component. * * LineSeparator component is a wrapper component that adds a line separator between two components. * @param {React.PropsWithChildren<ILineSeparator<V, S>>} props * @returns {JSX.Element} * @constructor */ export { LineSeparator };