Sha256: 873b6afc0735ca8449a2e89886ff08c6297b33534b9632d874fac440d4ba89ce

Contents?: true

Size: 451 Bytes

Versions: 44

Compression:

Stored size: 451 Bytes

Contents

import React from 'react'

import Legend from '../_legend'

const products = ['Windows', 'Doors', 'Roofing', 'Siding', 'Solar Gutters', 'Insulation', 'Other']

const LegendDefault = (props) => (
  <div>
    {
      products.map((product, i) => (
        <Legend
            color={`data_${i + 1}`}
            key={`legend_${i + 1}`}
            text={product}
            {...props}
        />
      ))
    }
  </div>
)

export default LegendDefault

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
playbook_ui-10.8.1.pre.alpha.flexdeps app/pb_kits/playbook/pb_legend/docs/_legend_default.jsx
playbook_ui-10.9.0.pre.alpha1 app/pb_kits/playbook/pb_legend/docs/_legend_default.jsx
playbook_ui-10.8.0 app/pb_kits/playbook/pb_legend/docs/_legend_default.jsx
playbook_ui-10.7.1 app/pb_kits/playbook/pb_legend/docs/_legend_default.jsx
playbook_ui-10.7.0 app/pb_kits/playbook/pb_legend/docs/_legend_default.jsx
playbook_ui-10.6.2.pre.alpha.dep app/pb_kits/playbook/pb_legend/docs/_legend_default.jsx
playbook_ui-10.6.1.pre.alpha1 app/pb_kits/playbook/pb_legend/docs/_legend_default.jsx
playbook_ui-10.6.0 app/pb_kits/playbook/pb_legend/docs/_legend_default.jsx
playbook_ui-10.5.0 app/pb_kits/playbook/pb_legend/docs/_legend_default.jsx
playbook_ui-10.4.0 app/pb_kits/playbook/pb_legend/docs/_legend_default.jsx
playbook_ui-10.3.0 app/pb_kits/playbook/pb_legend/docs/_legend_default.jsx
playbook_ui-10.2.1.alpha.sisensefix app/pb_kits/playbook/pb_legend/docs/_legend_default.jsx
playbook_ui-10.2.1 app/pb_kits/playbook/pb_legend/docs/_legend_default.jsx
playbook_ui-10.2.0 app/pb_kits/playbook/pb_legend/docs/_legend_default.jsx
playbook_ui-10.1.0 app/pb_kits/playbook/pb_legend/docs/_legend_default.jsx
playbook_ui-10.0.3.pre.alpha.walkthrough2 app/pb_kits/playbook/pb_legend/docs/_legend_default.jsx
playbook_ui-10.0.3.pre.alpha.walkthrough app/pb_kits/playbook/pb_legend/docs/_legend_default.jsx
playbook_ui-10.0.1.alpha.railscusticon app/pb_kits/playbook/pb_legend/docs/_legend_default.jsx
playbook_ui-10.0.2.pre.alpha.pre.iconfix app/pb_kits/playbook/pb_legend/docs/_legend_default.jsx
playbook_ui-10.0.1.alpha.rtflexfix app/pb_kits/playbook/pb_legend/docs/_legend_default.jsx