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.
 
 
 
pizza.krasnikov.pro/.history/components/UI/Icon_20220528173940.tsx

24 lines
547 B

import React from 'react';
import classNames from 'classnames';
export const Icon: React.FC = ({onClick, align, styles, children}) => {
return(
<div className= {classNames('button_box', align )}>
<button className = {classNames('button', styles )} onClick = {() => onClick()}> {children} </button>
</div>
)
}
export const IconMoped = (props) => {
return(
<p className={'icon_moped '}></p>
)
}
export const IconFire = (props) => {
return(
<p className={'icon_fire'}></p>
)
}