native-base
Version:
Essential cross-platform UI components for React Native
20 lines (18 loc) • 349 B
JavaScript
import { mode } from '../tools';
const baseStyle = props => {
return {
bg: mode("gray.700", "gray.300")(props),
py: 1,
px: 2,
rounded: 'sm',
shadow: 1,
_text: {
color: mode("gray.300", "gray.700")(props),
fontSize: 'sm'
}
};
};
export const Tooltip = {
baseStyle
};
//# sourceMappingURL=tooltip.js.map