File tree Expand file tree Collapse file tree
data-table/src/commonMain/kotlin/com/seanproctor/datatable Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import androidx.compose.runtime.Composable
44import androidx.compose.ui.graphics.Color
55import androidx.compose.ui.unit.Dp
66
7- @Target(AnnotationTarget .CLASS , AnnotationTarget .TYPE )
87@DslMarker
98annotation class DataTableScopeMarker
109
@@ -18,7 +17,7 @@ interface DataTableScope {
1817 * Creates a new row in the [BasicDataTable] with the specified content.
1918 */
2019 fun row (
21- content : @DataTableScopeMarker TableRowScope .() -> Unit
20+ content : TableRowScope .() -> Unit
2221 )
2322}
2423
@@ -30,7 +29,7 @@ interface TableRowScope {
3029 var isFooter: Boolean
3130 var backgroundColor: Color
3231
33- fun cell (content : @DataTableScopeMarker @ Composable TableCellScope .() -> Unit )
32+ fun cell (content : @Composable TableCellScope .() -> Unit )
3433}
3534
3635@DataTableScopeMarker
You can’t perform that action at this time.
0 commit comments