updating UI documentation
Summary: adding documentation for more of our UI components. Deleted some unused components, which were not working anyways. Reviewed By: jknoxville Differential Revision: D12896109 fbshipit-source-id: 959c7864240883869ad67283f80a3c189b94bf00
This commit is contained in:
committed by
Facebook Github Bot
parent
640dee6645
commit
95a7298d21
@@ -7,12 +7,19 @@
|
||||
|
||||
import {Component} from 'react';
|
||||
|
||||
/**
|
||||
* Dropdown to select from a list of options
|
||||
*/
|
||||
export default class Select extends Component<{
|
||||
/** Additional className added to the element */
|
||||
className?: string,
|
||||
/** Additional className added to the element */
|
||||
options: {
|
||||
[key: string]: string,
|
||||
},
|
||||
/** Callback when the selected value changes */
|
||||
onChange: (key: string) => void,
|
||||
/** Selected key */
|
||||
selected?: ?string,
|
||||
}> {
|
||||
onChange = (event: Object) => {
|
||||
|
||||
Reference in New Issue
Block a user