mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-07 08:53:25 +01:00
9 lines
No EOL
231 B
JavaScript
9 lines
No EOL
231 B
JavaScript
import React from 'react';
|
|
import {pointAsColor} from 'renders';
|
|
import ColorDot from 'renders/ColorDot';
|
|
|
|
|
|
export function DatumParamsRenderer({params}) {
|
|
const color = pointAsColor(params);
|
|
return <ColorDot color={color} />
|
|
} |