import { Meta, Canvas, Props, Story } from "@storybook/addon-docs";
import {
  ComponentHeading,
  ComponentStatus,
  COMPONENT_STATUS,
} from "../../storybook-components";
import { Absolute } from "./Absolute";

<Meta title="Deprecated/Components/To delete/Absolute" component={Absolute} />

<ComponentHeading
  componentName="Absolute"
  description="A component for wrapping children in an absolute-positioned container"
  sourcePath="src/components/Absolute/Absolute.tsx"
  hideDemosLink
/>

<ComponentStatus status={COMPONENT_STATUS.DEPRECATED} />

This component has been deprecated. To provide absolute position to an element, use the `absolute` classname.

```jsx
import { Absolute } from "@conveyorhq/arrow-ds";
```

<Canvas>
  <Story name="Absolute">
    <Absolute>This is the Absolute component</Absolute>
  </Story>
</Canvas>

## Props

<Props of={Absolute} />
