import { CSSProperties, ReactType } from 'react' import { IndexLinkProps } from 'react-router' import { FlattenInterpolation, SimpleInterpolation, ThemeProps, } from 'styled-components' import { GlobalAppThemeInterface } from '@monorail/helpers/theme' export type CssOverridesType = | SimpleInterpolation | FlattenInterpolation> export type CommonComponentType = { as?: ReactType className?: string cssOverrides?: CssOverridesType id?: string tabIndex?: number } export type TypographyComponent = { margin?: string } export type LinkProps = { activeClassName?: string activeStyle?: CSSProperties onlyActiveOnIndex?: boolean to?: IndexLinkProps['to'] }