![JAR search and dependency download from the Maven repository](/logo.png)
pages.Select.js Maven / Gradle / Ivy
import React from 'react';
import { Container, Row, Col, Button } from 'reactstrap';
import Select from '../components/controls/Select/Select'
class SelectPage extends React.Component {
render() {
const props = {
value: 'brisbane',
disabled: false,
options: [
{ label: 'Adelaide', value: 'adelaide' },
{ label: 'Brisbane', value: 'brisbane' },
{ label: 'Canberra', value: 'canberra' },
{ label: 'Darwin', value: 'darwin' },
{ label: 'Hobart', value: 'hobart' },
{ label: 'Melbourne', value: 'melbourne' },
{ label: 'Perth', value: 'perth' },
{ label: 'Sydney', value: 'sydney' },
]
};
return (
Пример кастомного выпадающего списка на основе @atlaskit/select
Это кастомная страница вне шаблона приложения
)
}
}
export default SelectPage;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy