Telegram Web K with changes to work inside I2P https://web.telegram.i2p/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
469 B

const RadioField = (text: string, name: string) => {
const label = document.createElement('label');
label.classList.add('radio-field');
const input = document.createElement('input');
input.type = 'radio';
input.id = input.name = 'input-radio-' + name;
const main = document.createElement('div');
main.classList.add('radio-field-main');
main.innerText = text;
label.append(input, main);
return {label, input, main};
};
export default RadioField;