import { Sticky } from ".."; import { Text } from "../text"; import type { StoryObj, Meta } from "@storybook/react"; /** * The usage of the Sticky component is to construct the page structure of the wallet app. * It consists of three sub component, which are the , and . * In general, the and have to be warpped inside the . * The is the static container to hold the static content, and the is a container that to hold the scrollable content. * Combine with the page container of the wallet app, this component is able to auto detect either the screen or the content should be scrollable. */ const meta: Meta = { title: "Sticky", tags: ["autodocs"], }; export default meta; type Story = StoryObj; export const Parent: Story = { // eslint-disable-next-line max-lines-per-function render: () => ( Header content
content
content
content
content
content
content
content
content
content
content
content
content
content
content
content
content
content
content
content
content
content
content
content
content
content
content
content
content
content
content
content
content
content
), };