mirror of
https://github.com/wassname/talk.git
synced 2026-06-29 16:49:46 +08:00
15 lines
318 B
JavaScript
15 lines
318 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;
|