Source Content Button
A basic Source compatible button component. This is a low-level component and should be sparingly used only for custom buttons. Prefer to use SourceButton or SourceIconButton instead.
Parameters
Button size from SourceButton.Sizes. Reflects the prominence of the action.
Button priority from SourceButton.Prioritys. Informs users of how important an action is.
Callback for action to take when user clicks the button.
Optional Modifier
Whether the button is enabled and can be interacted with.
Optional Source.Theme to apply to the button. If not provided, the current theme from LocalSourceTheme will be used.
Unless using the button as a standalone component, it is recommended to wrap the whole screen/sheet with SourceCoreTheme or ReaderRevenueTheme to provide consistent theme to all child components once.
Slot for composable content to present inside the button.