UNPKG

create-next-app-template

Version:

This is a template set up to create Next.js App with fast speed and high performance<br/> The current template is provided in a **page routing** structure.<br/>

14 lines (10 loc) 297 B
import { ShadowType } from "../types/piece/ShadowType"; const shadowStylesProps = (props?: ShadowType) => { if (!props) return {}; return { boxShadow: props ? `${props.x ?? 0}px ${props.y}px ${props.blur}px ${props.color}` : undefined, }; }; export { shadowStylesProps };