Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
getDefaultFoundation() {
// prettier-ignore
return new MDCRadioFoundation({
addClass: helper.addClass('rootProps', this),
removeClass: helper.removeClass('rootProps', this),
getNativeControl: () => this.nativeCb_,
})
}
constructor(props) {
super(props);
this.adapter = new FoundationAdapter();
this.foundation = new MDCRadioFoundation(this.adapter.toObject());
}