orbit
orbit copied to clipboard
inline PropObject type
An index signature parameter type cannot be a union type. Consider using a mapped object type instead
https://github.com/kiwicom/orbit/blob/0fdff4fb9bb37d7d540c069f38de5de670f8fd84/packages/orbit-components/src/Inline/helpers.js#L49
for fix
type PropObject = { [key in Prop]: AlignInline | JustifyInline; };