Implemented Spotlight with JetpackCompose
![](https://private-user-images.githubusercontent.com/19369161/252246810-fa9b983e-86b5-4cda-9411-c4f9f19a7878.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1Njc3NDEsIm5iZiI6MTcyNDU2NzQ0MSwicGF0aCI6Ii8xOTM2OTE2MS8yNTIyNDY4MTAtZmE5Yjk4M2UtODZiNS00Y2RhLTk0MTEtYzRmOWYxOWE3ODc4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI1VDA2MzA0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY1YzA4OWUzZDRhYWJiOTU1ZmZmMzk4NThiMjkyYjFhZGE0N2NhODRiYWYzZmZiNzlmMGJiYzNmNTI5NzljM2MmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.V4_ITtz8qasz24YnYBJMosc0uaJ5xlL0ldfJWFllcHE)
dependencies {
implementation("io.github.morux2:compose-spotlight:1.0")
}
var targetRect by remember { (mutableStateOf(Rect.Zero)) }
Spotlight(
targetRect = targetRect,
onTargetClicked = {},
onDismiss = {}
)