Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs for missing Dropdown Menu styles #1208

Merged
merged 2 commits into from
Jul 22, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions docs/src/app/components/pages/components/drop-down-menu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,20 @@ class DropDownMenuPage extends React.Component {
{
name: 'Props',
infoArray: [
{
name: 'displayMember',
type: 'string',
header: 'default: text',
desc: 'DropDownMenu will use text as default value, with this ' +
'property you can choose another name.'
},
{
name: 'valueMember',
type: 'string',
header: 'default: payload',
desc: 'DropDownMenu will use payload as default value, with this ' +
'property you can choose another name.'
},
{
name: 'autoWidth',
type: 'bool',
Expand Down Expand Up @@ -56,6 +70,24 @@ class DropDownMenuPage extends React.Component {
header: 'default: 0',
desc: 'Index of the item selected.'
},
{
name: 'underlineStyle',
type: 'object',
header: 'optional',
desc: 'Overrides the styles of DropDownMenu\'s underline.'
},
{
name: 'iconStyle',
type: 'object',
header: 'optional',
desc: 'Overrides the styles of DropDownMenu\'s icon element.'
},
{
name: 'labelStyle',
type: 'object',
header: 'optional',
desc: 'Overrides the styles of DropDownMenu\'s label when the DropDownMenu is inactive.'
},
{
name: 'style',
type: 'object',
Expand Down