slackline/block/task_card

This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.

Attributes for block.task_card.

Values

pub fn block_id(
  block_id: String,
) -> block.Attr(block.TaskCardBlock)

Sets block_id.

pub fn details(
  details: block.RichText,
) -> block.Attr(block.TaskCardBlock)

Details of the task.

pub fn hide_title(
  hide_title: Bool,
) -> block.Attr(block.TaskCardBlock)

Hide title so details becomes the top element.

pub fn icon(icon: value.Value) -> block.Attr(block.TaskCardBlock)

Icon of the task.

pub fn output(
  output: block.RichText,
) -> block.Attr(block.TaskCardBlock)

Output of the task.

pub fn sources(
  sources: List(block.UrlSource),
) -> block.Attr(block.TaskCardBlock)

Sources used to generate a response.

✨ Search Document