Skip to content

Commit

Permalink
feat(heatmap): update the website documentation according to API chan…
Browse files Browse the repository at this point in the history
…ges and additions
  • Loading branch information
plouc committed Jan 12, 2022
1 parent a55c272 commit b636e5c
Show file tree
Hide file tree
Showing 5 changed files with 760 additions and 300 deletions.
3 changes: 2 additions & 1 deletion website/src/data/components/heatmap/mapper.tsx
@@ -1,5 +1,5 @@
import React from 'react'
import { settingsMapper, mapAxis } from '../../../lib/settings'
import { settingsMapper, mapAxis, mapFormat } from '../../../lib/settings'

const CustomCell = ({
value,
Expand Down Expand Up @@ -40,6 +40,7 @@ const CustomCell = ({

export default settingsMapper(
{
valueFormat: mapFormat,
cellShape: value => {
if (value === `Custom(props) => (…)`) return CustomCell
return value
Expand Down

0 comments on commit b636e5c

Please sign in to comment.