import * as React from 'react';
import { Separator } from '@fluentui/react/lib/Separator';
import { mergeStyles } from '@fluentui/react/lib/Styling';
import { Stack, IStackTokens } from '@fluentui/react/lib/Stack';
import { Text } from '@fluentui/react/lib/Text';
const stackTokens: IStackTokens = { childrenGap: 12 };
const HorizontalSeparatorStack = (props: { children: JSX.Element[] }) => (
<>
{React.Children.map(props.children, child => {
return {child};
})}
>
);
const VerticalSeparatorStack = (props: { children: JSX.Element[] }) => (
{React.Children.map(props.children, child => {
return (
{child}
);
})}
);
const verticalStyle = mergeStyles({
height: '200px',
});
const content = 'Today';
export const SeparatorBasicExample: React.FC = () => (
<>
Horizontal center aligned
{content}
>
<>
Horizontal start aligned
{content}
>
<>
Horizontal end aligned
{content}
>
<>
Empty horizontal
>
<>
Vertical center aligned
{content}
>
<>
Vertical start aligned
{content}
>
<>
Vertical end aligned
{content}
>
<>
Empty vertical
>
);