UNPKG

@sinchsmb/ui-kit

Version:

UI kit for SinchSMB frontend

15 lines (14 loc) 455 B
import { OtherToken, OtherTokenRef, PropsWithTheme } from './types'; /** * Returns other theme value that can be used inside styled-component. * * ```tsx * import styled from 'styled-components/macro'; * import { other } from '../theme'; * * const StyledDiv = styled.div` * transition-timing-function: ${other("timingFunction/smooth")}; * `; * ``` */ export declare function other(name: OtherTokenRef): (props: PropsWithTheme) => OtherToken;