/**
* External dependencies
*/
// eslint-disable-next-line no-restricted-imports
import { Separator } from 'reakit';
// eslint-disable-next-line no-restricted-imports
import type { Ref } from 'react';
/**
* Internal dependencies
*/
import {
contextConnect,
useContextSystem,
GeChiUIComponentProps,
} from '../ui/context';
import { DividerView } from './styles';
import type { Props } from './types';
function Divider(
props: GeChiUIComponentProps< Props, 'hr', false >,
forwardedRef: Ref< any >
) {
const contextProps = useContextSystem( props, 'Divider' );
return (
);
}
/**
* `Divider` is a layout component that separates groups of related content.
*
* @example
* ```js
* import {
* __experimentalDivider as Divider,
* __experimentalText as Text }
* from `@gechiui/components`;
*
* function Example() {
* return (
*
* ...
*
* ...
*
* );
* }
* ```
*/
const ConnectedDivider = contextConnect( Divider, 'Divider' );
export default ConnectedDivider;