How to use the bpk-component-star-rating.withInteractiveStarRatingState function in bpk-component-star-rating

To help you get started, we’ve selected a few bpk-component-star-rating examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Skyscanner / backpack / packages / bpk-docs / src / pages / WebStarRatingPage / StarRatingPage.js View on Github external
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

import React from 'react';
import BpkStarRating, {
  BpkInteractiveStarRating,
  withInteractiveStarRatingState,
} from 'bpk-component-star-rating';
import starRatingReadme from 'bpk-component-star-rating/README.md';

import DocsPageBuilder from '../../components/DocsPageBuilder';
import Paragraph from '../../components/Paragraph';

const InteractiveStarRating = withInteractiveStarRatingState(
  BpkInteractiveStarRating,
);

const components = [
  {
    id: 'default',
    title: 'Default',
    blurb: [
      
        By default, star ratings are shown in a static form. These can be set at
        half star intervals.
      ,
    ],
    examples: [],
  },
  {

bpk-component-star-rating

Backpack rating star component.

Apache-2.0
Latest version published 2 years ago

Package Health Score

70 / 100
Full package analysis

Popular bpk-component-star-rating functions

Similar packages