This commit is contained in:
Eric Bailey
2024-01-09 14:27:17 -06:00
parent 3e055025c7
commit 88b13451cc
2 changed files with 22 additions and 6 deletions
+7 -1
View File
@@ -11,11 +11,17 @@ import {atoms, tokens, web, native} from '#/alf'
export type ButtonType = 'primary' | 'secondary' | 'negative'
export type ButtonSize = 'small' | 'large'
export type VariantProps = {
/**
* The presentation styles of the button
*/
type?: ButtonType
/**
* The size of the button
*/
size?: ButtonSize
}
export type ButtonProps = Omit<PressableProps, 'children'> &
VariantProps & {
children: