Sha256: 358a61b012c0d551406b2366a81afa952fbd1f215f393dc79af12d8b113b1072

Contents?: true

Size: 765 Bytes

Versions: 8

Compression:

Stored size: 765 Bytes

Contents

import React from 'react'

import StarRating from '../_star_rating'

const StarRatingSizeOptions = (props) => (
  <>

    <StarRating
        rating={3}
        size="xs"
        {...props}
    />

    <br />

    <StarRating
        rating={3}
        size="sm"
        {...props}
    />

    <br />

    <StarRating
        rating={3}
        size="md"
        {...props}
    />

    <br />

    <StarRating
        rating={3}
        size="lg"
        {...props}
    />

    <br />

    <StarRating
        layoutOption="number"
        rating={3}
        size="lg"
        {...props}
    />

    <br />

    <StarRating
        layoutOption="onestar"
        rating={3}
        size="lg"
        {...props}
    />

  </>
)

export default StarRatingSizeOptions

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
playbook_ui_docs-13.12.0.pre.alpha.play900startratingasinput1612 app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.jsx
playbook_ui-13.12.0.pre.alpha.play900startratingasinput1612 app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.jsx
playbook_ui_docs-13.12.0.pre.alpha.play900startratingasinput1550 app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.jsx
playbook_ui-13.12.0.pre.alpha.play900startratingasinput1550 app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.jsx
playbook_ui_docs-13.12.0.pre.alpha.play900startratingasinput1543 app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.jsx
playbook_ui-13.12.0.pre.alpha.play900startratingasinput1543 app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.jsx
playbook_ui_docs-13.11.1.pre.alpha.play900startratingasinput1530 app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.jsx
playbook_ui-13.11.1.pre.alpha.play900startratingasinput1530 app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.jsx