Commit Graph

8 Commits

Author SHA1 Message Date
Haitao Xia
49e770a33a removed duplicate property "opacity" from SvgProps
ReactNative.ViewProperties now has its own "opacity".
2018-06-12 14:59:48 -07:00
Simon Buchan
f8c5b6b274 TextSpecificProps are optional. 2018-02-01 22:13:21 +13:00
Simon Buchan
815b842fe5 Extract font/text related typings from props.js, ReadonlyArray<> 2018-01-22 22:07:39 +13:00
Simon Buchan
52ec33ebb7 More fixes:
- Definitions have an `id`, not a `name`.
- There is no `Shape` export.
- `Use` `width` and `height` are required.
2018-01-22 20:17:40 +13:00
Simon Buchan
e37433c19c Fix some existing type definitions:
It seems like these were already wrong?
- `Symbols` -> `Symbol`
- `Use` errors unless `width` and `height` are string?
- `Svg` errors if `width` and `height` are not provided?
2018-01-18 16:12:44 +13:00
Simon Buchan
ed1ab61f59 Add exports for prop types, additional type fixes.
Also:
- Extracts and exports the string enum types
- Adds or renames prop types such that every `Foo`
  component export also has a `FooProps`
- Adds non-default export of `Svg`, so `import * as Svg ...`
  is usable.
- Makes `RadialGradientProps.gradientUnits` optional, like
  for `LinearGradientProps.gradientUnits`.
- Adds stronger type for `TransformProps.transform` based
  on code in `extractTranform.js` (please double-check!)
- Fixes typo in `DefinationProps` name.
- A handful of minor formatting normalizations.
2018-01-18 14:53:06 +13:00
Christopher Powroznik
2191656fa2 added missing class and offset (#553) 2018-01-11 20:36:30 -08:00
Axel Eirola
41f0a2fcba Add Typescript type definitions (#493) 2017-11-23 13:47:47 -08:00