UNPKG

native-base

Version:

Essential cross-platform UI components for React Native

30 lines (27 loc) 512 B
const baseStyle = (props: any) => { const { primary } = props.theme.colors; return { _focusVisible: { _web: { style: { outlineWidth: 0, boxShadow: `${primary[400]} 0px 0px 0px 2px`, }, }, }, _dark: { _focusVisible: { _web: { style: { outlineWidth: 0, boxShadow: `${primary[500]} 0px 0px 0px 2px`, }, }, }, }, }; }; export default { baseStyle, defaultProps: {}, };