@dxos/app-toolkit - v0.16.0
    Preparing search index...

    Type Alias SectionData<Subject, Props>

    SectionData: {
        attendableId: string;
        extrinsic?: boolean;
        nodeId?: string;
        subject: Subject;
    } & Props

    Surface data for section role (from StackSection). Sections always render inside a plank, so attendableId is part of the contract.

    Type Parameters

    • Subject = unknown
    • Props extends {} = {}

    Type declaration

    • attendableId: string
    • Optionalextrinsic?: boolean

      Set when the section is sized by its container (e.g. a user-resized embed) rather than its intrinsic content, so the surface can fit its content to the box instead of sizing to it.

    • OptionalnodeId?: string

      The graph node this surface renders; see ArticleData.nodeId.

    • subject: Subject