File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
workspaces/ballerina/type-editor/src/components/FileSelector Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 1616 * under the License.
1717 */
1818import React from "react" ;
19- import { Button , Icon , Typography } from "@wso2/ui-toolkit" ;
19+ import { LinkButton , Icon , Typography } from "@wso2/ui-toolkit" ;
2020
2121export interface FileSelectorProps {
2222 label : string ;
@@ -49,17 +49,18 @@ export function FileSelector(props: FileSelectorProps) {
4949 return (
5050 < React . Fragment >
5151 < input hidden = { true } accept = { `.${ extension } ` } type = "file" onChange = { showFile } ref = { hiddenFileInput } />
52- < Button onClick = { handleClick } appearance = "icon" >
52+ < LinkButton onClick = { handleClick } sx = { { padding : "3px" } } >
5353 < Icon
5454 name = "bi-import"
55- sx = { { marginRight : "5px " } }
56- iconSx = { { fontSize : "15px" , color : "var(--vscode-charts-purple) " } }
55+ iconSx = { { fontSize : "15px " } }
56+ sx = { { paddingTop : "2px " } }
5757 />
5858 < Typography
5959 variant = "body3"
60- sx = { { color : "var(--vscode-charts-purple)" } }
61- > { `Import ${ extension . toUpperCase ( ) } File` } </ Typography >
62- </ Button >
60+ >
61+ { `Import ${ extension . toUpperCase ( ) } File` }
62+ </ Typography >
63+ </ LinkButton >
6364 </ React . Fragment >
6465 ) ;
6566}
You can’t perform that action at this time.
0 commit comments