@sinchsmb/ui-kit
Version:
UI kit for SinchSMB frontend
15 lines (14 loc) • 455 B
TypeScript
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;