@tarojs/components
Version:
18 lines (17 loc) • 619 B
TypeScript
import { ComponentType } from 'react'
import { StandardProps } from './common'
interface StickySectionProps extends StandardProps {
/** 吸顶元素重叠时是否继续上推
* @supported weapp
* @default true
*/
pushPinnedHeader?: boolean
}
/**
* 吸顶布局容器,仅支持作为 scroll-view 自定义模式下的直接子节点。仅 Skyline 支持。
* @classification skyline
* @supported weapp
* @see https://developers.weixin.qq.com/miniprogram/dev/component/sticky-section.html
*/
declare const StickySection: ComponentType<StickySectionProps>
export { StickySection, StickySectionProps }