import createStyles from '@material-ui/core/styles/createStyles' ; import makeStyles from '@material-ui/core/styles/makeStyles' ; import { IThemeWeb } from '../../Themes' ; import { ILinkProps } from './Link.props' ; const style = ( { palette } ) => createStyles ( { default : ( { color } ) => { if ( color !== 'default' ) { return { } ; } return { color : palette ?. complementary ?. link } ; } } ) ; export const useStyles = makeStyles ( style , { name : 'NatDSLink' } ) ;