parent
df10208ed5
commit
5070006193
4 changed files with 23 additions and 0 deletions
@ -0,0 +1,12 @@ |
|||||||
|
import './add-button.scss'; |
||||||
|
import { h, Component } from 'preact'; |
||||||
|
|
||||||
|
class AddButton extends Component { |
||||||
|
render() { |
||||||
|
return <input |
||||||
|
className='ui-add-button' type='button' value='Add' |
||||||
|
{...this.props} />; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
export default AddButton; |
@ -0,0 +1,3 @@ |
|||||||
|
.ui-add-button { |
||||||
|
font-size: 80% |
||||||
|
} |
Reference in new issue