From 571b816d34378dad26fea3c0b463667033700cff Mon Sep 17 00:00:00 2001 From: Ciaran Liedeman Date: Tue, 2 Oct 2018 06:09:13 +0200 Subject: [PATCH] Allow inline styles (#29288) --- types/react-spinkit/index.d.ts | 2 ++ types/react-spinkit/react-spinkit-tests.tsx | 1 + 2 files changed, 3 insertions(+) diff --git a/types/react-spinkit/index.d.ts b/types/react-spinkit/index.d.ts index 9d723ccc11..3418445934 100644 --- a/types/react-spinkit/index.d.ts +++ b/types/react-spinkit/index.d.ts @@ -33,6 +33,8 @@ declare namespace spinner { * for circle or folding-cube); this can either be a hex value or a color word */ color?: string; + + style?: React.CSSProperties } export interface Spinner extends React.ComponentClass { diff --git a/types/react-spinkit/react-spinkit-tests.tsx b/types/react-spinkit/react-spinkit-tests.tsx index ac952bc700..7afd0ddd0b 100644 --- a/types/react-spinkit/react-spinkit-tests.tsx +++ b/types/react-spinkit/react-spinkit-tests.tsx @@ -49,4 +49,5 @@ const spinners = [ , , , + , ];