Remove deprecated stuff from PlatformColors · rescript-react-native/rescript-react-native@8daff8b

1-

@module("react-native") @deprecated("Use `PlatformColor.unsafe` instead")

2-

external unsafeGet: string => Color.t = "PlatformColor"

3-4-

@module("react-native") @deprecated("Use `PlatformColor.unsafe` instead")

5-

external unsafeGet2: (string, string) => Color.t = "PlatformColor"

6-7-

@module("react-native") @deprecated("Use `PlatformColor.unsafe` instead")

8-

external unsafeGet3: (string, string, string) => Color.t = "PlatformColor"

9-10-

@module("react-native") @deprecated("Use `PlatformColor.unsafe` instead")

11-

external unsafeGet4: (string, string, string, string) => Color.t = "PlatformColor"

12-13-

@module("react-native") @deprecated("Use `PlatformColor.unsafe` instead")

14-

external unsafeGet5: (string, string, string, string, string) => Color.t = "PlatformColor"

15-16-

@module("react-native") @deprecated("Use `PlatformColor.unsafe` instead")

17-

external unsafeGet6: (string, string, string, string, string, string) => Color.t = "PlatformColor"

18-19-

@module("react-native") @deprecated("Use `PlatformColor.unsafe` instead")

20-

external unsafeGet7: (string, string, string, string, string, string, string) => Color.t =

21-

"PlatformColor"

22-23-

@module("react-native") @deprecated("Use `PlatformColor.unsafe` instead") @variadic

24-

external unsafeGetMultiple: array<string> => Color.t = "PlatformColor"

25-261

module Ios = {

272

// Standard Colors <https://developer.apple.com/documentation/uikit/uicolor/standard_colors>

283

type adaptableColors = [

@@ -116,21 +91,6 @@ module Ios = {

11691

| linkColors

11792

| nonadaptableColors

11893

]

119-120-

@module("react-native") @deprecated("Use `PlatformColor.ios` instead")

121-

external get: t => Color.t = "PlatformColor"

122-

@module("react-native") @deprecated("Use `PlatformColor.ios` instead")

123-

external get2: (t, t) => Color.t = "PlatformColor"

124-

@module("react-native") @deprecated("Use `PlatformColor.ios` instead")

125-

external get3: (t, t, t) => Color.t = "PlatformColor"

126-

@module("react-native") @deprecated("Use `PlatformColor.ios` instead")

127-

external get4: (t, t, t, t) => Color.t = "PlatformColor"

128-

@module("react-native") @deprecated("Use `PlatformColor.ios` instead")

129-

external get5: (t, t, t, t, t) => Color.t = "PlatformColor"

130-

@module("react-native") @deprecated("Use `PlatformColor.ios` instead")

131-

external get6: (t, t, t, t, t, t) => Color.t = "PlatformColor"

132-

@module("react-native") @deprecated("Use `PlatformColor.ios` instead")

133-

external get7: (t, t, t, t, t, t) => Color.t = "PlatformColor"

13494

}

1359513696

module Android = {

@@ -190,21 +150,6 @@ module Android = {

190150

| color

191151

| attr

192152

]

193-194-

@deprecated("Use `PlatformColor.android` instead") @module("react-native")

195-

external get: (t, t) => Color.t = "PlatformColor"

196-

@deprecated("Use `PlatformColor.android` instead") @module("react-native")

197-

external get2: (t, t) => Color.t = "PlatformColor"

198-

@deprecated("Use `PlatformColor.android` instead") @module("react-native")

199-

external get3: (t, t, t) => Color.t = "PlatformColor"

200-

@deprecated("Use `PlatformColor.android` instead") @module("react-native")

201-

external get4: (t, t, t, t) => Color.t = "PlatformColor"

202-

@deprecated("Use `PlatformColor.android` instead") @module("react-native")

203-

external get5: (t, t, t, t, t) => Color.t = "PlatformColor"

204-

@deprecated("Use `PlatformColor.android` instead") @module("react-native")

205-

external get6: (t, t, t, t, t, t) => Color.t = "PlatformColor"

206-

@deprecated("Use `PlatformColor.android` instead") @module("react-native")

207-

external get7: (t, t, t, t, t, t, t) => Color.t = "PlatformColor"

208153

}

209154210155

@module("react-native") @variadic