DyteControlBarButton
Overview
Subclass of UIButton
A skeleton component used for composing Dyte buttons which are mostly add inside DyteTabbarBar
This is a base class for component likes DyteAudioButtonControlBar DyteMoreButtonControlBar
Creating button
init(image: DyteImage, title: String = "", appearance: DyteControlBarButtonAppearance = DyteControlBarButtonAppearanceModel())
Parameters
Required
image: Instance of type DyteImage
to be passed
Optional
title: title to be shown below the DyteImage. Default value of this is Empty Strings.
appearance: Any type that follows DyteControlBarButtonAppearance