Skip to content

Commit 50bb58e

Browse files
authored
fix: types (#33)
1 parent 50dc9fe commit 50bb58e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ReactUnipika/ReactUnipikaBase.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ interface WithReactUnipikaBaseProps<P extends ReactUnipikaCommonProps> {
4646

4747
export function withReactUnipikaBase<P extends ReactUnipikaCommonProps>(
4848
config: WithReactUnipikaBaseProps<P>,
49-
) {
50-
return function ReactUnipikaBaseComponent(props: P) {
49+
): React.FC<P> {
50+
return function ReactUnipikaBaseComponent(props: P): React.ReactNode {
5151
const {
5252
value,
5353
settings = defaultUnipikaSettings,

0 commit comments

Comments
 (0)