mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Remove dead getWarningHighlightColor export from LogBoxStyle
Summary: X-link: https://github.com/facebook/react-native/pull/57138 `getWarningHighlightColor` in `LogBox/UI/LogBoxStyle.js` was an exported color helper with no importers. It is a duplicate of the live `getHighlightColor` (identical `rgba(252, 176, 29, ...)` value), which is the one actually used by LogBox UI. This removes the dead duplicate. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D108012913 fbshipit-source-id: dd22adcf191284eb3c81778f92a8c72be15f9d30
This commit is contained in:
1 parent
4eb7885faf
commit
92c51404ff
1 file changed
-4
@@ -48,10 +48,6 @@ export function getLogColor(opacity?: number): string {
|
||||
return `rgba(119, 119, 119, ${opacity == null ? 1 : opacity})`;
|
||||
}
|
||||
|
||||
export function getWarningHighlightColor(opacity?: number): string {
|
||||
return `rgba(252, 176, 29, ${opacity == null ? 1 : opacity})`;
|
||||
}
|
||||
|
||||
export function getDividerColor(opacity?: number): string {
|
||||
return `rgba(255, 255, 255, ${opacity == null ? 1 : opacity})`;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user