@blockstack/ui
Version:
Blockstack UI components built using React and styled-components with styled-system.
55 lines (54 loc) • 1.37 kB
TypeScript
interface InputStyle {
[key: string]: any;
}
interface InputStyles {
default: InputStyle;
[key: string]: InputStyle;
}
export declare const inputSizes: InputStyles;
declare const useInputStyle: (props: any) => {
height: number;
border: string;
borderBottomColor: string;
borderLeftColor: string;
borderRightColor: string;
borderTopColor: string;
borderColor: string;
bg: string;
_hover: {
borderBottomColor: string;
borderLeftColor: string;
borderRightColor: string;
borderTopColor: string;
borderColor: string;
};
_disabled: {
bg: string;
cursor: string;
pointerEvents: string;
};
_focus: {
borderBottomColor: string;
borderLeftColor: string;
borderRightColor: string;
borderTopColor: string;
borderColor: string;
boxShadow: string;
};
_invalid: {
borderBottomColor: string;
borderLeftColor: string;
borderRightColor: string;
borderTopColor: string;
borderColor: string;
};
display: string;
alignItems: string;
position: string;
transition: string;
outline: string;
borderRadius: string;
p: string;
width: string | undefined;
};
export default useInputStyle;