The index.d.ts typescript definition file is missing the 'style' property, in ReactPlaceholderProps. As a result, using 'style' in the ReactPlaceholder component causes TypeScript compilation to fail. This means the examples as shown will not compile in TypeScript.
'style' needs to be added as an optional property in ReactPlaceholderProps.
The index.d.ts typescript definition file is missing the 'style' property, in ReactPlaceholderProps. As a result, using 'style' in the ReactPlaceholder component causes TypeScript compilation to fail. This means the examples as shown will not compile in TypeScript.
'style' needs to be added as an optional property in ReactPlaceholderProps.