@primer/react-brand
Version:
Primer Brand is a GitHub's design system for creating React-based marketing websites and digital experiences.
23 lines (22 loc) • 814 B
TypeScript
import React from 'react';
import type { RiverProps } from '../../';
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/river-story-scroll/colors-with-modes.css';
export type RiverStoryScrollProps = {
/**
* Adjust the order of the `Content` column. The default is `start`.
*/
align?: 'start' | 'end';
/**
* Apply an alternative image to text column ratio. The default is `50:50`.
*/
imageTextRatio?: '60:40' | '50:50';
/**
* Disable the scroll effect.
*/
disabled?: boolean;
/**
* Only River components are allowed as children.
*/
children?: React.ReactElement<RiverProps>[];
};
export declare function RiverStoryScroll({ children, disabled }: RiverStoryScrollProps): import("react/jsx-runtime").JSX.Element;