KPInfoBox
KPInfoBox is a composable function that displays an information box with a specified style, text, and optional icon. Optionally, it can display an icon and a border.
Parameters
An InfoBoxStyle instance that defines the style of the info box.
A single text content that will be displayed if the multiText
parameter is not used.
A Modifier instance to modify the component. The default value is Modifier
.
Determines the position of the icon, which can be Arrangement.Start
or Arrangement.End
.
A boolean value to enable border display. The default value is false
.
A boolean value to enable dashed border display. The default value is false
.
KPInfoBox is a composable function that displays an information box with a specified style and customizable multi-line text. Optionally, it can display an icon and a border.
Parameters
An InfoBoxStyle instance that defines the style of the info box.
A Modifier instance to modify the component. The default value is Modifier
.
Determines the position of the icon, which can be Arrangement.Start
or Arrangement.End
.
A boolean value to enable border display. The default value is false
.
A boolean value to enable dashed border display. The default value is false
.
A composable lambda that allows for custom text content in a ColumnScope
.
Use this to provide multiple lines of text or custom text elements.
Content copied to clipboard