mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-22 21:14:18 +00:00
15 lines
490 B
JavaScript
15 lines
490 B
JavaScript
|
import React from "react"
|
||
|
import Style from "./ButtonSmallX.module.css"
|
||
|
import classNames from "classnames"
|
||
|
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome"
|
||
|
import { faTimes } from "@fortawesome/free-solid-svg-icons"
|
||
|
|
||
|
|
||
|
export default function ButtonSmallX({ children, className, ...props }) {
|
||
|
return (
|
||
|
<button type={"button"} className={classNames(Style.ButtonSmallX, className)} {...props}>
|
||
|
<FontAwesomeIcon icon={faTimes}/>
|
||
|
</button>
|
||
|
)
|
||
|
}
|