CorporateMediaScreen

fun CorporateMediaScreen(idMedia: MediaId, onEvent: (CorporateMediaEvent) -> Unit, colors: CorporateMediaColors = CorporateMediaDefault.corporateMediaColors())

Screen listing a corporate media's documents, with a type selector above them.

Give it the media's id and it fetches, paginates and renders on its own. It reports taps through CorporateMediaEvent and never navigates itself.

Parameters

idMedia

the media whose documents should be listed.

onEvent

callback invoked when a UI event is emitted.

colors

styling configuration applied to the corporate media screen.