UNPKG
@tolokoban/ui
Version:
latest (0.25.3)
0.25.3
0.25.2
0.25.1
0.24.2
0.24.1
0.24.0
0.23.4
0.23.3
0.23.2
0.23.1
0.23.0
0.22.2
0.22.1
0.22.0
0.21.7
0.21.6
0.21.5
0.21.4
0.21.3
0.21.2
0.21.1
0.21.0
0.20.4
0.20.3
0.20.1
0.20.0
0.19.3
0.19.2
0.19.1
0.19.0
0.18.2
0.18.1
0.18.0
0.17.10
0.17.9
0.17.8
0.17.7
0.17.6
0.17.2
0.17.1
0.17.0
0.16.0
0.15.0
0.14.0
0.12.5
0.12.4
0.12.3
0.11.1
0.11.0
0.10.0
0.9.2
0.9.1
0.9.0
0.8.7
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.0
0.6.0
0.4.0
React components with theme
tolokoban.github.io/ui
tolokoban/tgd2
@tolokoban/ui
/
lib
/
dist
/
view
/
factory.d.ts
3 lines
•
285 B
TypeScript
View Raw
1
2
3
import
*
as
React
from
"react"
;
export
declare
function
makeCustomView<
Props
extends
Record
<
string
,
any
>, T
extends
Partial
<
Props
>>(
View
:
React
.
FC
<
Props
>,
defaultProps
: T):
(
props
:
Omit
<
Props
, keyof T>
) =>
React
.
ReactElement
<
Omit
<
Props
, keyof T>>;
//# sourceMappingURL=factory.d.ts.map