Add component comments

Add information to FieldGroupCheckbox and PropertyGroup about
the relation between the two components.
This commit is contained in:
Hannu Lyytikainen 2018-01-23 12:39:43 +02:00
parent 9d89b45771
commit 42c7df4943
2 changed files with 17 additions and 0 deletions

View file

@ -1,3 +1,12 @@
/*
* Renders a group of checkboxes that can be used to select
* multiple values from a set of options.
*
* The corresponding component when rendering the selected
* values is PropertyGroup.
*
*/
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';

View file

@ -1,3 +1,11 @@
/*
* Renders a set of options with selected and non-selected values.
*
* The corresponding component when selecting the values is
* FieldGroupCheckbox.
*
*/
import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';