UNPKG
expo-ui-kit-test
Version:
latest (2.0.1)
2.0.1
2.0.0
1.0.1
1.0.0
Cross-platform UI kit for Expo/React Native with responsive breakpoints and components.
expo-ui-kit-test
/
dist
/
components
/
Button
/
Button.d.ts
10 lines
(9 loc)
•
278 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
React
from
'react'
;
type
ButtonProps
= {
title
:
string
;
onPress
:
() =>
void
;
variant
?:
'primary'
|
'secondary'
;
disabled
?:
boolean
; };
declare
const
Button
:
(
{ title, onPress, variant, disabled }:
ButtonProps
) =>
React
.
JSX
.
Element
;
export
default
Button
;