mirror of
https://github.com/wassname/talk.git
synced 2026-07-02 05:17:05 +08:00
15 lines
316 B
JavaScript
15 lines
316 B
JavaScript
import React from 'react';
|
|
import {Option as OptionMDL} from 'react-mdl-selectfield';
|
|
import styles from './Option.css';
|
|
|
|
const Option = props => {
|
|
const {children, ...attrs} = props;
|
|
return (
|
|
<OptionMDL className={styles.Option} {...attrs}>
|
|
{children}
|
|
</OptionMDL>
|
|
);
|
|
};
|
|
|
|
export default Option;
|