import React, { Component } from 'react'
import PageHeader from '../template/pageHeader'
import Grid from '../template/grid'
import IconButton from '../template/iconButton'
import SwitchButton from 'lyef-switch-button';
import "../../css/main.css"
import PT from 'prop-types';
export default class ContasPagarCadastro extends Component {
I make the example:
<SwitchButton id="my-button" labelLeft="left" labelRight="right" isChecked disabled action={callbackFunction} />
but the controler does no work. My source:
import React, { Component } from 'react' import PageHeader from '../template/pageHeader' import Grid from '../template/grid' import IconButton from '../template/iconButton' import SwitchButton from 'lyef-switch-button'; import "../../css/main.css" import PT from 'prop-types';
export default class ContasPagarCadastro extends Component {
}