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

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

<ComponentHeading
  componentName="Fixed"
  description="A component for wrapping children in a fixed-positioned container"
  sourcePath="src/components/Fixed/Fixed.tsx"
  hideDemosLink
/>

<ComponentStatus status={COMPONENT_STATUS.DEPRECATED} />

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

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

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

## Props

<Props of={Fixed} />
