Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
({ variant }) => ({
position: 'relative',
...{
instructional: messaging.standard,
success: messaging.success,
error: messaging.error,
warning: messaging.warning,
branded: { backgroundColor: colorWhiteLilac },
}[variant],
})
)