UNPKG

saepequia

Version:

A simple, maximally extensible, dependency minimized framework for building modern Ethereum dApps

22 lines (15 loc) 452 B
// Dead code in this file should be ignored import deadDep from 'unknown-dependency'; import { styled } from 'linaria/react'; export const deadValue = deadDep(); const objects = { font: { fontSize: 12 }, box: { border: "1px solid red" } }; const foo = (k) => { const { [k]: obj } = objects; return obj; }; objects.font.fontWeight = 'bold'; export const whiteColor = '#fff'; export const Title = styled.h1` ${foo('font')} ${foo('box')} `;