mirror of
https://github.com/iconify/iconify.git
synced 2025-01-22 14:48:24 +00:00
Make second parameter for buildIcon optional
This commit is contained in:
parent
1ee0caf216
commit
a6d90fd7a9
@ -20,7 +20,7 @@ export interface IconifyBuilderFunctions {
|
||||
) => string | number;
|
||||
buildIcon: (
|
||||
icon: IconifyIcon,
|
||||
customisations: IconifyIconCustomisations
|
||||
customisations?: IconifyIconCustomisations
|
||||
) => IconifyIconBuildResult;
|
||||
}
|
||||
|
||||
@ -29,7 +29,7 @@ export interface IconifyBuilderFunctions {
|
||||
*/
|
||||
export function buildIcon(
|
||||
icon: IconifyIcon,
|
||||
customisations: IconifyIconCustomisations
|
||||
customisations?: IconifyIconCustomisations
|
||||
): IconifyIconBuildResult {
|
||||
return iconToSVG(
|
||||
fullIcon(icon),
|
||||
|
Loading…
x
Reference in New Issue
Block a user